Skip to content

Commit 9a140b0

Browse files
author
Kristan Kenney
committed
Ensure proxy server is restarted when changing user status
1 parent 005a3d1 commit 9a140b0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

bin/v-suspend-user

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ fi
7777
$BIN/v-restart-web $restart
7878
check_result $? "Web restart failed" >/dev/null
7979

80+
$BIN/v-restart-proxy $restart
81+
check_result $? "Proxy restart failed" >/dev/null
82+
8083
$BIN/v-restart-dns $restart
8184
check_result $? "DNS restart failed" >/dev/null
8285

bin/v-unsuspend-user

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ decrease_user_value 'admin' '$SUSPENDED_USERS'
8080
$BIN/v-restart-web $restart
8181
check_result $? "Web restart failed" >/dev/null
8282

83+
$BIN/v-restart-proxy $restart
84+
check_result $? "Proxy restart failed" >/dev/null
85+
8386
$BIN/v-restart-dns $restart
8487
check_result $? "DNS restart failed" >/dev/null
8588

0 commit comments

Comments
 (0)