mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
restart error handler
This commit is contained in:
parent
42dfa03258
commit
477934825c
66 changed files with 297 additions and 9 deletions
|
@ -103,7 +103,14 @@ increase_user_value "$user" '$U_WEB_ALIASES'
|
|||
# Adding task to the vesta pipe
|
||||
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
|
||||
|
||||
log_history "added $dom_alias as alias for $domain"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue