diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-08 21:31:09 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-08 21:31:09 +0000 |
commit | 1e3d6405076f8f1cdc6fed045f7b49eba25ed827 (patch) | |
tree | 0700f44aceb275113b85f757b9b982e8fea02ae1 /sys-apps/daemontools | |
parent | fix tail +# usage (diff) | |
download | historical-1e3d6405076f8f1cdc6fed045f7b49eba25ed827.tar.gz historical-1e3d6405076f8f1cdc6fed045f7b49eba25ed827.tar.bz2 historical-1e3d6405076f8f1cdc6fed045f7b49eba25ed827.zip |
whitespace fix
Diffstat (limited to 'sys-apps/daemontools')
-rw-r--r-- | sys-apps/daemontools/files/svscan | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/sys-apps/daemontools/files/svscan b/sys-apps/daemontools/files/svscan index 72a106268848..a1e388c30599 100644 --- a/sys-apps/daemontools/files/svscan +++ b/sys-apps/daemontools/files/svscan @@ -1,34 +1,33 @@ #!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/daemontools/files/svscan,v 1.7 2003/02/27 06:25:28 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/daemontools/files/svscan,v 1.8 2003/09/08 21:31:09 vapier Exp $ depend() { - need net - after net - before ntpd - before spamd - before apache - before apache2 + need net + after net + before ntpd + before spamd + before apache + before apache2 } start() { - ebegin "Starting service scan..." - 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 $? + ebegin "Starting service scan" + 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 $? + 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 $? } - |