mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
Fix: nginx restart order
This commit is contained in:
parent
4922062af6
commit
f59ebc4f65
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue