summaryrefslogtreecommitdiff
path: root/nonsystemd/rsync-openrc/rsyncd.initd
blob: 0b1218e08b329304386faf928309b21ef87db2cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/openrc-run
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

supervisor="supervise-daemon"
command="/usr/bin/rsync"
command_args="${RSYNCD_OPTS}"
command_args_foreground="--daemon --no-detach"
command_args_background="-p ${pidfile}"

depend() {
    use net
}