diff options
author | James Meyer <james.meyer@operamail.com> | 2011-08-03 23:33:45 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2011-08-03 23:33:45 (GMT) |
commit | 5003a9ce7a704794e298153fbaafccbfe534919f (patch) | |
tree | 65ae295b7bf5e9ec25f451fb16f4f7f9d781ca1c /abs/core/runit-scripts/runitscripts/services/lighttpd | |
parent | 02797173a65f18a0309e12699c7020eb015704cb (diff) | |
parent | 2ba0826ab4c85aa4caf1613cfdb77123935a16b4 (diff) | |
download | linhes_pkgbuild-5003a9ce7a704794e298153fbaafccbfe534919f.zip linhes_pkgbuild-5003a9ce7a704794e298153fbaafccbfe534919f.tar.gz linhes_pkgbuild-5003a9ce7a704794e298153fbaafccbfe534919f.tar.bz2 |
Merge branch 'testing' of ssh://jams@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/lighttpd')
-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 |