2 Commits
Author SHA1 Message Date
mxmehl 65aa5a10a4 better define which lighttpd instance to look for 2020-10-02 14:50:20 +02:00
mxmehl d0ea6c0226 ignore optional php error log 2020-10-02 14:50:01 +02:00
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -5,6 +5,7 @@ fsfe.org
fsfe-website
lighttpd-fsfe*.log
php-errors.log
# ignore everything in fsfe.org/ and status/ but keep the folders
fsfe.org/*
+1 -1
View File
@@ -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