summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-01-12 08:08:58 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-01-12 08:08:58 +0000
commit55fa06629027683b83a71fcf6f9153164908e699 (patch)
tree067d43706872e0ed373b09888f385aab22724163 /net-www
parentfirst htmltidy ebuild (diff)
downloadhistorical-55fa06629027683b83a71fcf6f9153164908e699.tar.gz
historical-55fa06629027683b83a71fcf6f9153164908e699.tar.bz2
historical-55fa06629027683b83a71fcf6f9153164908e699.zip
Revised startup script
Diffstat (limited to 'net-www')
-rw-r--r--net-www/junkbuster/files/junkbuster.rc65
1 files changed, 3 insertions, 2 deletions
diff --git a/net-www/junkbuster/files/junkbuster.rc6 b/net-www/junkbuster/files/junkbuster.rc6
index 5eea6cc252f4..068ddc05f914 100644
--- a/net-www/junkbuster/files/junkbuster.rc6
+++ b/net-www/junkbuster/files/junkbuster.rc6
@@ -1,16 +1,17 @@
#!/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/net-www/junkbuster/files/junkbuster.rc6,v 1.1 2001/12/28 16:33:17 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/junkbuster/files/junkbuster.rc6,v 1.2 2002/01/12 08:08:58 karltk Exp $
start() {
ebegin "Starting junkbuster"
- start-stop-daemon --start --quiet --exec /usr/sbin/junkbuster -- /etc/junkbuster/config
+ start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/junkbuster.pid --exec /usr/sbin/junkbuster -- /etc/junkbuster/config &
eend $?
}
stop() {
ebegin "Stopping junkbuster"
start-stop-daemon --stop --quiet --pidfile /var/run/junkbuster.pid
+ rm -f /var/run/junkbuster.pid
eend $?
}