From 55fa06629027683b83a71fcf6f9153164908e699 Mon Sep 17 00:00:00 2001 From: Karl Trygve Kalleberg Date: Sat, 12 Jan 2002 08:08:58 +0000 Subject: Revised startup script --- net-www/junkbuster/files/junkbuster.rc6 | 5 +++-- 1 file 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 $? } -- cgit v1.2.3-65-gdbad