summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-21 01:11:33 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-21 01:11:33 +0000
commite5c11a1429c541552e5daef1a2843a0b71b888dc (patch)
tree65c1301f14349d95fcc87b40391b1e2c917e5c5d /app-admin/gentoo-rsync-mirror/files
parentbetter stop() function (diff)
downloadhistorical-e5c11a1429c541552e5daef1a2843a0b71b888dc.tar.gz
historical-e5c11a1429c541552e5daef1a2843a0b71b888dc.tar.bz2
historical-e5c11a1429c541552e5daef1a2843a0b71b888dc.zip
Dont install init.d script anymore #59599 by Bjarke Istrup Pedersen.
Diffstat (limited to 'app-admin/gentoo-rsync-mirror/files')
-rw-r--r--app-admin/gentoo-rsync-mirror/files/rsyncd.init23
1 files changed, 0 insertions, 23 deletions
diff --git a/app-admin/gentoo-rsync-mirror/files/rsyncd.init b/app-admin/gentoo-rsync-mirror/files/rsyncd.init
deleted file mode 100644
index 9a95ea6a770e..000000000000
--- a/app-admin/gentoo-rsync-mirror/files/rsyncd.init
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoo-rsync-mirror/files/rsyncd.init,v 1.7 2004/07/14 21:12:47 agriffis Exp $
-
-depend() {
-need net
-}
-
-# FYI: --sparce seems to cause problems.
-RSYNCOPTS="--daemon --safe-links --timeout=300"
-
-start() {
-ebegin "Starting rsync daemon"
-start-stop-daemon --start --quiet --pidfile /var/run/rsyncd.pid --nicelevel 15 --exec /usr/bin/rsync -- ${RSYNCOPTS}
-eend $?
-}
-
-stop() {
-ebegin "Stopping rsync daemon"
-start-stop-daemon --stop --quiet --pidfile /var/run/rsyncd.pid
-eend $?
-}