Skip to content

Commit f59ebc4

Browse files
author
Serghey Rodin
committed
Fix: nginx restart order
1 parent 4922062 commit f59ebc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-update-sys-ip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ if [ ! -z "$new" ]; then
5252
if [ -e "$old.conf" ]; then
5353
mv $old.conf $new.conf
5454
sed -i "s/$old/$new/g" $new.conf
55-
$BIN/v-restart-proxy
5655
fi
5756
fi
5857

@@ -67,6 +66,7 @@ if [ ! -z "$new" ]; then
6766
for user in $(ls $VESTA/data/users/); do
6867
$BIN/v-rebuild-web-domains $user no
6968
done
69+
$BIN/v-restart-proxy
7070
$BIN/v-restart-web
7171
fi
7272

0 commit comments

Comments
 (0)