mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 09:36:13 -08:00
add example rc scripts for OpenBSD and FreeBSD
This commit is contained in:
committed by
Zlatko Čalušić
parent
2209f1437e
commit
dfe9755ed0
14
examples/bsd/openbsd
Normal file
14
examples/bsd/openbsd
Normal 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
|
||||
Reference in New Issue
Block a user