mirror of
https://git.fsfe.org/FSFE/fsfe-local-build.git
synced 2026-04-18 10:23:05 +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."
|
||||
fi
|
||||
elif [ "$HTTPD" == "lighttpd" ]; then
|
||||
if [ ! $(pgrep lighttpd) ]; then # lighttpd
|
||||
if [ ! $(pgrep -f "lighttpd.*${HTTPD_conf}") ]; then # lighttpd
|
||||
echo_INFO "Starting $HTTPD webserver"
|
||||
/usr/sbin/lighttpd -f "$HTTPD_conf"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user