mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 13:54:26 -07:00
E_RESTART should be a variable
This commit is contained in:
parent
275a8226a5
commit
4614df59a7
61 changed files with 89 additions and 89 deletions
|
@ -373,12 +373,12 @@ if [ "$web" != 'no' ]; then
|
|||
# Restart WEB
|
||||
$BIN/v-restart-web
|
||||
if [ $? -ne 0 ]; then
|
||||
exit E_RESTART
|
||||
exit $E_RESTART
|
||||
fi
|
||||
|
||||
$BIN/v-restart-proxy
|
||||
if [ $? -ne 0 ]; then
|
||||
exit E_RESTART
|
||||
exit $E_RESTART
|
||||
fi
|
||||
|
||||
echo
|
||||
|
@ -491,7 +491,7 @@ if [ "$dns" != 'no' ]; then
|
|||
# Restart DNS
|
||||
$BIN/v-restart-dns
|
||||
if [ $? -ne 0 ]; then
|
||||
exit E_RESTART
|
||||
exit $E_RESTART
|
||||
fi
|
||||
|
||||
echo
|
||||
|
@ -708,7 +708,7 @@ if [ "$cron" != 'no' ]; then
|
|||
# Restart cron
|
||||
$BIN/v-restart-cron
|
||||
if [ $? -ne 0 ]; then
|
||||
exit E_RESTART
|
||||
exit $E_RESTART
|
||||
fi
|
||||
|
||||
echo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue