summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-03-22 22:01:21 +0000
committerChristian Ruppert <idl0r@gentoo.org>2012-03-22 22:01:21 +0000
commitdfb482f61f77bb7442b7fb6bffa54558395cf13c (patch)
tree7a5a27bb44c894d0f596c2c40a031db0f0e19d37 /net-misc/rsync/files
parentVersion bump. Ebuild clean up. EAPI4 (diff)
downloadgentoo-2-dfb482f61f77bb7442b7fb6bffa54558395cf13c.tar.gz
gentoo-2-dfb482f61f77bb7442b7fb6bffa54558395cf13c.tar.bz2
gentoo-2-dfb482f61f77bb7442b7fb6bffa54558395cf13c.zip
Simplify the init script.
(Portage version: 2.1.10.44/cvs/Linux i686)
Diffstat (limited to 'net-misc/rsync/files')
-rw-r--r--net-misc/rsync/files/rsyncd.init.d-r112
1 files changed, 12 insertions, 0 deletions
diff --git a/net-misc/rsync/files/rsyncd.init.d-r1 b/net-misc/rsync/files/rsyncd.init.d-r1
new file mode 100644
index 000000000000..d2e608e49607
--- /dev/null
+++ b/net-misc/rsync/files/rsyncd.init.d-r1
@@ -0,0 +1,12 @@
+#!/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="/usr/bin/rsync"
+command_args="--daemon ${RSYNC_OPTS}"
+pidfile="/var/run/${SVCNAME}.pid"
+
+depend() {
+ use net
+}