diff --git a/bin/v-restart-cron b/bin/v-restart-cron index 04b7dd6a..a30278aa 100755 --- a/bin/v-restart-cron +++ b/bin/v-restart-cron @@ -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 diff --git a/bin/v-restart-dns b/bin/v-restart-dns index 9b3dbae2..7dc7a9ba 100755 --- a/bin/v-restart-dns +++ b/bin/v-restart-dns @@ -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 diff --git a/bin/v-restart-ftp b/bin/v-restart-ftp index c002fc07..ad28339e 100755 --- a/bin/v-restart-ftp +++ b/bin/v-restart-ftp @@ -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 diff --git a/bin/v-restart-mail b/bin/v-restart-mail index c1ae4a34..9ef4eb2c 100755 --- a/bin/v-restart-mail +++ b/bin/v-restart-mail @@ -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 diff --git a/bin/v-restart-proxy b/bin/v-restart-proxy index 89c68437..c3be9aed 100755 --- a/bin/v-restart-proxy +++ b/bin/v-restart-proxy @@ -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 diff --git a/bin/v-restart-web b/bin/v-restart-web index 9c321cb6..180ed6f8 100755 --- a/bin/v-restart-web +++ b/bin/v-restart-web @@ -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