aports/main/rsync/rsyncd.initd
2017-02-07 10:14:29 +00:00

13 lines
240 B
Plaintext

#!/sbin/openrc-run
cfgfile="/etc/rsyncd.conf"
pidfile="$(grep "^pid file" $cfgfile | cut -d= -f2)"
command="/usr/bin/rsync"
command_args="--daemon $command_args $RSYNC_OPTS"
required_files="$cfgfile"
depend() {
use net
after firewall
}