Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions packaging/OpenRC/rsyncd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/sbin/openrc-run

supervisor=supervise-daemon

description="fast remote file copy program daemon"
command=/usr/bin/rsync
command_args="--daemon ${OPTS}"
command_args_foreground="--no-detach"
required_files=/etc/rsyncd.conf
no_new_privs=1

depend() {
after net
}
2 changes: 2 additions & 0 deletions packaging/OpenRC/rsyncd.confd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# additional options to pass to rsync
OPTS=""