diff options
author | freaj <freaj@riseup.net> | 2015-03-30 10:36:00 +0200 |
---|---|---|
committer | freaj <freaj@riseup.net> | 2015-03-30 10:36:00 +0200 |
commit | 7385c6143c1b587bca68deade6e5989d11879767 (patch) | |
tree | 6ccef2617293e9afd03c80d5de22fd8f9c260c70 /pcr/openrc-net/lighttpd.confd | |
parent | 41c9dc8729840f45f174a14a08703e04d1f5717e (diff) | |
download | abslibre-7385c6143c1b587bca68deade6e5989d11879767.tar.gz abslibre-7385c6143c1b587bca68deade6e5989d11879767.tar.bz2 abslibre-7385c6143c1b587bca68deade6e5989d11879767.zip |
openrc-net-20150330-1: updating version
Diffstat (limited to 'pcr/openrc-net/lighttpd.confd')
-rw-r--r-- | pcr/openrc-net/lighttpd.confd | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pcr/openrc-net/lighttpd.confd b/pcr/openrc-net/lighttpd.confd new file mode 100644 index 000000000..f3afb07a5 --- /dev/null +++ b/pcr/openrc-net/lighttpd.confd @@ -0,0 +1,12 @@ +# /etc/conf.d/lighttpd + +# Location of a shell used by the 'include_shell' directive +# in the lighttpd's configuration file +#export SHELL="/bin/bash" + +# Location of the lighttpd configuration file +LIGHTTPD_CONF="/etc/lighttpd/lighttpd.conf" + +# Location of the lighttpd pid file +LIGHTTPD_PID="$(/usr/bin/awk '/^server.pid-file/{s=$3};{sub("\"","",s)};END{print s}' ${LIGHTTPD_CONF})" + |