mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
do not restart remote service
This commit is contained in:
parent
5a868ef9b1
commit
23b187b534
6 changed files with 6 additions and 7 deletions
|
@ -40,7 +40,7 @@ if [ -z "$1" ] && [ "$SCHEDULED_RESTART" = 'yes' ]; then
|
|||
exit
|
||||
fi
|
||||
|
||||
if [ -z "$CRON_SYSTEM" ]; then
|
||||
if [ -z "$CRON_SYSTEM" ] || [ "$CRON_SYSTEM" = 'remote' ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ if [ -z "$1" ] && [ "$SCHEDULED_RESTART" = 'yes' ]; then
|
|||
exit
|
||||
fi
|
||||
|
||||
if [ -z "$DNS_SYSTEM" ]; then
|
||||
if [ -z "$DNS_SYSTEM" ] || [ "$DNS_SYSTEM" = 'remote' ] ; then
|
||||
exit
|
||||
fi
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ if [ -z "$1" ] && [ "$SCHEDULED_RESTART" = 'yes' ]; then
|
|||
exit
|
||||
fi
|
||||
|
||||
if [ -z "$FTP_SYSTEM" ]; then
|
||||
if [ -z "$FTP_SYSTEM" ] || [ "$FTP_SYSTEM" = 'remote' ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ if [ -z "$1" ] && [ "$SCHEDULED_RESTART" = 'yes' ]; then
|
|||
fi
|
||||
|
||||
|
||||
if [ -z "$MAIL_SYSTEM" ]; then
|
||||
if [ -z "$MAIL_SYSTEM" ] || [ "$MAIL_SYSTEM" = 'remote' ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ if [ -z "$1" ] && [ "$SCHEDULED_RESTART" = 'yes' ]; then
|
|||
exit
|
||||
fi
|
||||
|
||||
if [ -z "$PROXY_SYSTEM" ]; then
|
||||
if [ -z "$PROXY_SYSTEM" ] || [ "$PROXY_SYSTEM" = 'remote' ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
|
|
|
@ -40,8 +40,7 @@ if [ -z "$1" ] && [ "$SCHEDULED_RESTART" = 'yes' ]; then
|
|||
exit
|
||||
fi
|
||||
|
||||
|
||||
if [ -z "$WEB_SYSTEM" ]; then
|
||||
if [ -z "$WEB_SYSTEM" ] || [ "$WEB_SYSTEM" = 'remote' ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue