Browse Source

better define which lighttpd instance to look for

master
max.mehl 1 year ago
parent
commit
65aa5a10a4
Signed by: mxmehl GPG Key ID: 2704E4AB371E2E92
  1. 2
      fsfe-preview.sh

2
fsfe-preview.sh

@ -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

Loading…
Cancel
Save