SOURCES: lighttpd.init - "include_shell" needs $SHELL, which is no...
glen
glen at pld-linux.org
Wed Dec 21 02:00:56 CET 2005
Author: glen Date: Wed Dec 21 01:00:56 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- "include_shell" needs $SHELL, which is not available if started via "service" command
---- Files affected:
SOURCES:
lighttpd.init (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SOURCES/lighttpd.init
diff -u SOURCES/lighttpd.init:1.5 SOURCES/lighttpd.init:1.6
--- SOURCES/lighttpd.init:1.5 Thu Dec 8 01:41:26 2005
+++ SOURCES/lighttpd.init Wed Dec 21 02:00:51 2005
@@ -33,7 +33,7 @@
# Check if the service is already running?
if [ ! -f /var/lock/subsys/lighttpd ]; then
msg_starting lighttpd
- daemon lighttpd -f /etc/lighttpd/lighttpd.conf $HTTPD_OPTS
+ daemon env SHELL=/bin/sh lighttpd -f /etc/lighttpd/lighttpd.conf $HTTPD_OPTS
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/lighttpd
else
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/lighttpd.init?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list