mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
restart error handler
This commit is contained in:
parent
42dfa03258
commit
477934825c
66 changed files with 297 additions and 9 deletions
|
@ -101,7 +101,14 @@ decrease_user_value "$user" '$U_WEB_ALIASES'
|
|||
# Restart web server
|
||||
if [ "$restart" != 'no' ]; then
|
||||
$BIN/v-restart-web
|
||||
if [ $? -ne 0 ]; then
|
||||
exit E_RESTART
|
||||
fi
|
||||
|
||||
$BIN/v-restart-proxy
|
||||
if [ $? -ne 0 ]; then
|
||||
exit E_RESTART
|
||||
fi
|
||||
fi
|
||||
|
||||
# Logging
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue