Files
backer/contrib/backer.openrc

18 lines
276 B
Bash

#!/sbin/openrc-run
name="$SVCNAME"
command="/usr/local/sbin/$SVCNAME"
supervisor="supervise-daemon"
pidfile="/run/$SVCNAME/$SVCNAME.pid"
depend() {
need net
use dns
}
start_pre() {
mkdir -p /run/$SVCNAME
}
# vim: set ft=sh noet ai ts=4 sw=4 sts=4: