aboutsummaryrefslogtreecommitdiffstats
path: root/main/rsync/rsyncd.initd
blob: 8115d250b31d9c4d0f3e9178517e9c12dd83be1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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
}