summaryrefslogtreecommitdiff
path: root/pcr/openrc-net/lighttpd.confd
blob: f3afb07a58e1fa42b8f807d365ad61d632f35f2e (plain)
1
2
3
4
5
6
7
8
9
10
11
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})"