Changed script invokation

pull/332/head
Piero Toffanin 2017-11-17 16:16:52 -05:00
rodzic 204cade393
commit 2c74b9f173
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -22,7 +22,7 @@ fi
# Stop nginx if needed (free the port used by the standalone server)
nginx_was_running="NO"
pgrep nginx
pgrep nginx > /dev/null
if [ $? -eq 0 ]; then
killall nginx
nginx_was_running="YES"

Wyświetl plik

@ -96,7 +96,7 @@ else
# Check if we need to auto-generate SSL certs via letsencrypt
if [ "$WO_SSL" = "YES" ] && [ -z "$WO_SSL_KEY" ]; then
bash -c "nginx/letsencrypt-autogen.sh"
source ./nginx/letsencrypt-autogen.sh
fi
# Check if SSL key/certs are available