diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-01-12 08:08:58 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-01-12 08:08:58 +0000 |
commit | 70546772935f892519c59e2a5e410ae978f64b77 (patch) | |
tree | 13ade0d0608cfdd246404ed96d87baf68dedcf80 /net-www/junkbuster | |
parent | first htmltidy ebuild (diff) | |
download | gentoo-2-70546772935f892519c59e2a5e410ae978f64b77.tar.gz gentoo-2-70546772935f892519c59e2a5e410ae978f64b77.tar.bz2 gentoo-2-70546772935f892519c59e2a5e410ae978f64b77.zip |
Revised startup script
Diffstat (limited to 'net-www/junkbuster')
-rw-r--r-- | net-www/junkbuster/files/junkbuster.rc6 | 5 |
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 $? } |