Skip to content

Commit

Permalink
fixed port setting
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippMundhenk committed Oct 28, 2023
1 parent 484eed2 commit 82cc8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/runScanner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if [[ -z ${PORT} ]]; then
PORT=80
fi
echo "running on port $PORT"
sed 's/server.port\W*= 80/server.port = $PORT/' /etc/lighttpd/lighttpd.conf
sed -i "s/server.port\W*= 80/server.port = $PORT/" /etc/lighttpd/lighttpd.conf
/usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
echo "webserver started"

Expand Down

0 comments on commit 82cc8b7

Please sign in to comment.