diff options
author | 2005-09-01 15:57:05 +0000 | |
---|---|---|
committer | 2005-09-01 15:57:05 +0000 | |
commit | ade3e486919d599d57c872c9145f9d08e4a45be5 (patch) | |
tree | 017784dc42933d1c901f32f4dbd0636b3e9c968a /www-servers/lighttpd/files | |
parent | Stable on sparc (diff) | |
download | gentoo-2-ade3e486919d599d57c872c9145f9d08e4a45be5.tar.gz gentoo-2-ade3e486919d599d57c872c9145f9d08e4a45be5.tar.bz2 gentoo-2-ade3e486919d599d57c872c9145f9d08e4a45be5.zip |
Add '--signal 2' to start-stop-daemon options in init script to take advantage of 1.4.3's new graceful shutdown on SIGINT.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'www-servers/lighttpd/files')
-rw-r--r-- | www-servers/lighttpd/files/lighttpd.initd | 5 |
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 |