add example rc scripts for OpenBSD and FreeBSD

This commit is contained in:
Aaron Bieber
2018-03-01 08:08:33 +01:00
committed by Zlatko Čalušić
parent 2209f1437e
commit dfe9755ed0
2 changed files with 41 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/ksh
#
# $OpenBSD: $
daemon="/usr/local/bin/rest-server"
daemon_flags="--path /var/restic"
daemon_user="_restic"
. /etc/rc.d/rc.subr
rc_bg=YES
rc_reload=NO
rc_cmd $1