mirror of
https://git.fsfe.org/FSFE/fsfe-local-build.git
synced 2026-04-20 11:23:06 +02:00
better define which lighttpd instance to look for
This commit is contained in:
@@ -173,7 +173,7 @@ for ((i=1; i <= $numargs; i++)); do
|
|||||||
echo_INFO "$HTTPD webserver already seems to be running."
|
echo_INFO "$HTTPD webserver already seems to be running."
|
||||||
fi
|
fi
|
||||||
elif [ "$HTTPD" == "lighttpd" ]; then
|
elif [ "$HTTPD" == "lighttpd" ]; then
|
||||||
if [ ! $(pgrep lighttpd) ]; then # lighttpd
|
if [ ! $(pgrep -f "lighttpd.*${HTTPD_conf}") ]; then # lighttpd
|
||||||
echo_INFO "Starting $HTTPD webserver"
|
echo_INFO "Starting $HTTPD webserver"
|
||||||
/usr/sbin/lighttpd -f "$HTTPD_conf"
|
/usr/sbin/lighttpd -f "$HTTPD_conf"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user