[pkg-lighttpd] Bug#380080: work around

Eliteforce eliteforce at elitemail.org
Fri Aug 4 21:24:08 UTC 2006


hello

the problem is that start-stop-daemon can't start the server if the old
(shutting down) process is still running since it just allows one
instance

a simple solution is to copy the "start" section in the initscript and
rename it to "force-start", change the --pidfile $PIDFILE to --pidfile
/dev/null and invoke "$0 force-start" instead of "$0 start" in the
reload action

..., though i got some 500 errors after reloading from php scripts
(probably because the old and new process both use the same fcgi socket
for php?)

cheers, eliteforce

-- 
http://www.fastmail.fm - Email service worth paying for. Try it for free





More information about the pkg-lighttpd-maintainers mailing list