diff options
author | Michael Hanson <hansonorders@verizon.net> | 2011-08-03 23:03:29 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2011-08-03 23:03:29 (GMT) |
commit | 6a332588e14116977841fba80c063c59011d0ea0 (patch) | |
tree | 2285e569071243fa8f962c2b38debbeac8c00b35 /abs/core/runit-scripts/runitscripts | |
parent | 793bf43dc93fcf85f4433069f8beede2965d21f5 (diff) | |
download | linhes_pkgbuild-6a332588e14116977841fba80c063c59011d0ea0.zip linhes_pkgbuild-6a332588e14116977841fba80c063c59011d0ea0.tar.gz linhes_pkgbuild-6a332588e14116977841fba80c063c59011d0ea0.tar.bz2 |
runit-scripts: change lighttpd to start with lighttpd-angel (To accept signals)
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/lighttpd/run | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/lighttpd/run b/abs/core/runit-scripts/runitscripts/services/lighttpd/run index 798690c..f9c574d 100755 --- a/abs/core/runit-scripts/runitscripts/services/lighttpd/run +++ b/abs/core/runit-scripts/runitscripts/services/lighttpd/run @@ -4,5 +4,10 @@ export TERM=linux . /etc/rc.d/functions stat_runit "Starting lighttpd" +if [ ! -d /var/run/lighttpd ] ; then + mkdir -p /var/run/lighttpd + chown http /var/run/lighttpd +fi -exec /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf +# Using -angel to start lighttpd allows lighttpd to accept signals +exec /usr/sbin/lighttpd-angel -D -f /etc/lighttpd/lighttpd.conf |