Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <github@techandme.se>2018-05-09 15:26:55 +0300
committerGitHub <noreply@github.com>2018-05-09 15:26:55 +0300
commit2c7fcd42469601bcaca302811973502f929a4954 (patch)
tree34c89ae9002418d7101c760f3da18ea8cacea6eb /lets-encrypt
parentbeb0a36f9bc4b8a8d6b1d419f0e3327c8b884065 (diff)
fix https://github.com/nextcloud/vm/issues/531
Diffstat (limited to 'lets-encrypt')
-rw-r--r--lets-encrypt/activate-ssl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lets-encrypt/activate-ssl.sh b/lets-encrypt/activate-ssl.sh
index 0a12ed4d..6a757d4b 100644
--- a/lets-encrypt/activate-ssl.sh
+++ b/lets-encrypt/activate-ssl.sh
@@ -81,7 +81,7 @@ done
# Check if port is open with NMAP
sed -i "s|127.0.1.1.*|127.0.1.1 $domain nextcloud|g" /etc/hosts
-service networking restart
+network_ok
check_open_port 80 "$domain"
check_open_port 443 "$domain"