diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-02-14 22:03:48 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-02-14 22:03:48 +0000 |
commit | 647e096aa4eb6a3c983102c2625cd8ea494919ff (patch) | |
tree | f78f089025abe78d73c6cb876f5fcbf8e7b1d1c9 /app-admin/gentoo-rsync-mirror/files | |
parent | added header to ChangeLog (diff) | |
download | gentoo-2-647e096aa4eb6a3c983102c2625cd8ea494919ff.tar.gz gentoo-2-647e096aa4eb6a3c983102c2625cd8ea494919ff.tar.bz2 gentoo-2-647e096aa4eb6a3c983102c2625cd8ea494919ff.zip |
update copyright info
Diffstat (limited to 'app-admin/gentoo-rsync-mirror/files')
-rw-r--r-- | app-admin/gentoo-rsync-mirror/files/rsyncd.init | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/app-admin/gentoo-rsync-mirror/files/rsyncd.init b/app-admin/gentoo-rsync-mirror/files/rsyncd.init index ff6f11b4a25f..5db5bad5c40d 100644 --- a/app-admin/gentoo-rsync-mirror/files/rsyncd.init +++ b/app-admin/gentoo-rsync-mirror/files/rsyncd.init @@ -1,25 +1,23 @@ #!/sbin/runscript -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoo-rsync-mirror/files/rsyncd.init,v 1.1 2003/02/10 21:55:16 tantive Exp $ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# 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.2 2003/02/14 22:02:13 vapier Exp $ depend() { -need net + need net } # FYI: --sparce seems to cause problems. RSYNCOPTS="--daemon --safe-links --compress --bwlimit=700 --timeout=1800" start() { -ebegin "Starting rsync daemon" -start-stop-daemon --start --quiet --pidfile /var/run/rsyncd.pid --exec /usr/bin/rsync -- ${RSYNCOPTS} -eend $? + ebegin "Starting rsync daemon" + start-stop-daemon --start --quiet --pidfile /var/run/rsyncd.pid --exec /usr/bin/rsync -- ${RSYNCOPTS} + eend $? } stop() { -ebegin "Stopping rsync daemon" -start-stop-daemon --stop --quiet --pidfile /var/run/rsyncd.pid -eend $? -} - - + ebegin "Stopping rsync daemon" + start-stop-daemon --stop --quiet --pidfile /var/run/rsyncd.pid + eend $? +} |