mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-26 19:11:55 +01:00
20 lines
354 B
Plaintext
20 lines
354 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
supervisor=supervise-daemon
|
|
|
|
: ${cfgfile:="/etc/rsyncd.conf"}
|
|
|
|
name="rsync daemon"
|
|
description="A file transfer program to keep remote files in sync"
|
|
|
|
command="/usr/bin/rsync"
|
|
command_args="--daemon --config=$cfgfile $RSYNC_OPTS"
|
|
command_args_foreground="--no-detach"
|
|
|
|
required_files="$cfgfile"
|
|
|
|
depend() {
|
|
use net
|
|
after firewall
|
|
}
|