WIP: enable bind-addr control

This commit is contained in:
billz
2020-07-29 15:52:31 +01:00
parent 04f62b9f0d
commit eeccb19b35
4 changed files with 56 additions and 20 deletions

View File

@@ -1,12 +1,20 @@
#!/bin/bash
#
# Updates lighttpd server.port and restarts the service
# Updates lighttpd config settings and restarts the service
# @author billz
# license: GNU General Public License v3.0
# Exit on error
set -o errexit
# Exit on error inside functions
set -o errtrace
# Turn on traces, disabled by default
#set -o xtrace
server_port=$1
lighttpd_conf=$2
host=$3
server_bind=$2
lighttpd_conf=$3
host=$4
restart_service=0
while :; do