parent
2b129b9aba
commit
195e7f5a79
|
@ -20,7 +20,6 @@ function atexit() {
|
||||||
return "$1"
|
return "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#domain keyfile certfile cafile fullchain
|
#domain keyfile certfile cafile fullchain
|
||||||
edgemax_deploy() {
|
edgemax_deploy() {
|
||||||
_cdomain="$1"
|
_cdomain="$1"
|
||||||
|
@ -73,7 +72,7 @@ edgemax_deploy() {
|
||||||
_info "EdgeMax cert-file already set to $lighttpd_pem"
|
_info "EdgeMax cert-file already set to $lighttpd_pem"
|
||||||
fi
|
fi
|
||||||
_info Restarting lighttpd
|
_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
|
sudo /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
|
||||||
|
|
||||||
atexit 0
|
atexit 0
|
||||||
|
|
Loading…
Reference in New Issue