diff options
Diffstat (limited to 'sys-process/daemontools/files/svscan')
-rwxr-xr-x | sys-process/daemontools/files/svscan | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/sys-process/daemontools/files/svscan b/sys-process/daemontools/files/svscan deleted file mode 100755 index b6ac2dcc190a..000000000000 --- a/sys-process/daemontools/files/svscan +++ /dev/null @@ -1,37 +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/sys-process/daemontools/files/svscan,v 1.1 2005/03/03 18:11:26 ciaranm Exp $ - -depend() { - need net - after net - before ntpd - before spamd - before apache - before apache2 -} - -start() { - ebegin "Starting service scan" - ( - # workaround for #25754 - unset -f `declare -F | sed 's:declare -f::g'` - PATH="/usr/bin:$PATH" - start-stop-daemon --start --quiet --exec /usr/bin/svscan --pidfile /var/run/svscan.pid -- /service & - echo $! > /var/run/svscan.pid - ) - eend $? -} - -stop() { - ebegin "Stopping service scan" - start-stop-daemon --stop --quiet --pidfile /var/run/svscan.pid - eend $? - ebegin "Stopping services" - svc -dx /service/* - eend $? - ebegin "Stopping service logging" - svc -dx /service/*/log - eend $? -} |