From 6a992a0d29c29e8a04244853b5976dc64ae0c8d7 Mon Sep 17 00:00:00 2001 From: Tom Noogen Date: Tue, 9 Jan 2018 17:36:09 -0600 Subject: [PATCH] update autossl --- rootfs/sysprepz/admin/bin/vesta-auto-ssl-restart.sh | 2 ++ rootfs/sysprepz/admin/bin/vesta-auto-ssl.sh | 1 + 2 files changed, 3 insertions(+) diff --git a/rootfs/sysprepz/admin/bin/vesta-auto-ssl-restart.sh b/rootfs/sysprepz/admin/bin/vesta-auto-ssl-restart.sh index f3b8d2c..bf8187e 100755 --- a/rootfs/sysprepz/admin/bin/vesta-auto-ssl-restart.sh +++ b/rootfs/sysprepz/admin/bin/vesta-auto-ssl-restart.sh @@ -15,3 +15,5 @@ sleep 5 /usr/local/vesta/bin/v-restart-mail /usr/local/vesta/bin/v-restart-service dovecot /usr/local/vesta/bin/v-restart-service vesta + +exit 0 diff --git a/rootfs/sysprepz/admin/bin/vesta-auto-ssl.sh b/rootfs/sysprepz/admin/bin/vesta-auto-ssl.sh index adf6094..1e4ab88 100755 --- a/rootfs/sysprepz/admin/bin/vesta-auto-ssl.sh +++ b/rootfs/sysprepz/admin/bin/vesta-auto-ssl.sh @@ -37,6 +37,7 @@ if [ -n "$hostname" ]; then cd /usr/local/vesta/bin /usr/local/vesta/bin/v-update-host-certificate $user $hostname + exit 0 else echo "[i] vesta-auto-ssl exit due to empty VESTA_DOMAIN variable" fi \ No newline at end of file