summaryrefslogtreecommitdiff
path: root/pcr/openrc-net/lighttpd.confd
diff options
context:
space:
mode:
authorfreaj <freaj@riseup.net>2015-03-30 10:36:00 +0200
committerfreaj <freaj@riseup.net>2015-03-30 10:36:00 +0200
commit7385c6143c1b587bca68deade6e5989d11879767 (patch)
tree6ccef2617293e9afd03c80d5de22fd8f9c260c70 /pcr/openrc-net/lighttpd.confd
parent41c9dc8729840f45f174a14a08703e04d1f5717e (diff)
openrc-net-20150330-1: updating version
Diffstat (limited to 'pcr/openrc-net/lighttpd.confd')
-rw-r--r--pcr/openrc-net/lighttpd.confd12
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})"
+