From f59ebc4f65aa6b9e026d9a049766111c84a0c1e8 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Thu, 14 Jun 2018 18:00:44 +0300 Subject: [PATCH] Fix: nginx restart order --- bin/v-update-sys-ip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v-update-sys-ip b/bin/v-update-sys-ip index 956d4f10..8c0da087 100755 --- a/bin/v-update-sys-ip +++ b/bin/v-update-sys-ip @@ -52,7 +52,6 @@ if [ ! -z "$new" ]; then if [ -e "$old.conf" ]; then mv $old.conf $new.conf sed -i "s/$old/$new/g" $new.conf - $BIN/v-restart-proxy fi fi @@ -67,6 +66,7 @@ if [ ! -z "$new" ]; then for user in $(ls $VESTA/data/users/); do $BIN/v-rebuild-web-domains $user no done + $BIN/v-restart-proxy $BIN/v-restart-web fi