summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers/lighttpd/files/lighttpd.initd')
-rw-r--r--www-servers/lighttpd/files/lighttpd.initd5
1 files changed, 3 insertions, 2 deletions
diff --git a/www-servers/lighttpd/files/lighttpd.initd b/www-servers/lighttpd/files/lighttpd.initd
index c055b338bdcb..28946b041a71 100644
--- a/www-servers/lighttpd/files/lighttpd.initd
+++ b/www-servers/lighttpd/files/lighttpd.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.initd,v 1.5 2005/09/01 14:22:35 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.initd,v 1.6 2005/09/01 15:57:05 ka0ttic Exp $
opts="depend checkconfig start stop"
@@ -36,7 +36,8 @@ start() {
stop() {
local rv=0
ebegin "Stopping lighttpd"
- if start-stop-daemon --stop --quiet --pidfile ${LIGHTTPD_PID} ; then
+ if start-stop-daemon --stop --quiet --pidfile ${LIGHTTPD_PID} \
+ --signal 2 ; then
rm -f /var/run/lighttpd.pid
else
rv=1