mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-05 16:52:06 +01:00
17 lines
282 B
Plaintext
17 lines
282 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
: ${cfgfile:="/etc/rsyncd.conf"}
|
|
|
|
command="/usr/bin/rsync"
|
|
command_args="--daemon --no-detach --config=$cfgfile
|
|
$command_args $RSYNC_OPTS"
|
|
command_background="yes"
|
|
|
|
pidfile="/run/$RC_SVCNAME.pid"
|
|
required_files="$cfgfile"
|
|
|
|
depend() {
|
|
use net
|
|
after firewall
|
|
}
|