Files
for-gentoo/net-misc/rsync/files/rsyncd.init.d-r1
T
Fabio Erculiani 062459108c [net-misc/rsync] fork ebuild, make possible to override /usr/bin/rsync path via conf.d
This is particularly useful in cases where rsync --daemon takes a lot of I/O or CPU
and user wants to limit these by changing the defaults (via ionice, nice).
2012-11-05 20:36:17 +01:00

13 lines
372 B
Plaintext

#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/files/rsyncd.init.d-r1,v 1.1 2012/03/22 22:01:21 idl0r Exp $
command="${RSYNC_EXEC:-/usr/bin/rsync}"
command_args="--daemon ${RSYNC_OPTS}"
pidfile="/var/run/${SVCNAME}.pid"
depend() {
use net
}