diff --git a/deploy/edgemax.sh b/deploy/edgemax.sh index e75de75e..820d5ddf 100644 --- a/deploy/edgemax.sh +++ b/deploy/edgemax.sh @@ -20,7 +20,6 @@ function atexit() { return "$1" } - #domain keyfile certfile cafile fullchain edgemax_deploy() { _cdomain="$1" @@ -73,7 +72,7 @@ edgemax_deploy() { _info "EdgeMax cert-file already set to $lighttpd_pem" fi _info Restarting lighttpd - sudo kill -SIGTERM $(cat /var/run/lighttpd.pid) + sudo kill -SIGTERM "$(cat /var/run/lighttpd.pid)" sudo /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf atexit 0