Skip to content

Commit 4213951

Browse files
committed
Explicitly disable service restarting when rebuilding user resources during upgrade
All services are restarted at the end of the upgrade process
1 parent 1dd74bd commit 4213951

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

func/upgrade.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,13 @@ upgrade_rebuild_users() {
201201
for user in `ls /usr/local/hestia/data/users/`; do
202202
echo "(*) Rebuilding domains and account for user: $user..."
203203
if [ ! -z "$WEB_SYSTEM" ]; then
204-
$BIN/v-rebuild-web-domains $user >/dev/null 2>&1
204+
$BIN/v-rebuild-web-domains $user 'no' >/dev/null 2>&1
205205
fi
206206
if [ ! -z "$DNS_SYSTEM" ]; then
207-
$BIN/v-rebuild-dns-domains $user >/dev/null 2>&1
207+
$BIN/v-rebuild-dns-domains $user 'no' >/dev/null 2>&1
208208
fi
209209
if [ ! -z "$MAIL_SYSTEM" ]; then
210-
$BIN/v-rebuild-mail-domains $user >/dev/null 2>&1
210+
$BIN/v-rebuild-mail-domains $user 'no' >/dev/null 2>&1
211211
fi
212212
done
213213
}

0 commit comments

Comments
 (0)