mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-28 21:02:25 +01:00
13 lines
240 B
Plaintext
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
|
|
}
|