Serghey Rodin 12 лет назад
Родитель
Сommit
23b187b534
6 измененных файлов с 6 добавлено и 7 удалено
  1. 1 1
      bin/v-restart-cron
  2. 1 1
      bin/v-restart-dns
  3. 1 1
      bin/v-restart-ftp
  4. 1 1
      bin/v-restart-mail
  5. 1 1
      bin/v-restart-proxy
  6. 1 2
      bin/v-restart-web

+ 1 - 1
bin/v-restart-cron

@@ -40,7 +40,7 @@ if [ -z "$1" ] && [ "$SCHEDULED_RESTART" = 'yes' ]; then
     exit
     exit
 fi
 fi
 
 
-if [ -z "$CRON_SYSTEM" ]; then
+if [ -z "$CRON_SYSTEM" ] || [ "$CRON_SYSTEM" = 'remote' ]; then
     exit
     exit
 fi
 fi
 
 

+ 1 - 1
bin/v-restart-dns

@@ -46,7 +46,7 @@ if [ -z "$1" ] && [ "$SCHEDULED_RESTART" = 'yes' ]; then
     exit
     exit
 fi
 fi
 
 
-if [ -z "$DNS_SYSTEM" ]; then
+if [ -z "$DNS_SYSTEM" ] || [ "$DNS_SYSTEM" = 'remote' ] ; then
     exit
     exit
 fi
 fi
 
 

+ 1 - 1
bin/v-restart-ftp

@@ -40,7 +40,7 @@ if [ -z "$1" ] && [ "$SCHEDULED_RESTART" = 'yes' ]; then
     exit
     exit
 fi
 fi
 
 
-if [ -z "$FTP_SYSTEM" ]; then
+if [ -z "$FTP_SYSTEM" ] || [ "$FTP_SYSTEM" = 'remote' ]; then
     exit
     exit
 fi
 fi
 
 

+ 1 - 1
bin/v-restart-mail

@@ -41,7 +41,7 @@ if [ -z "$1" ] && [ "$SCHEDULED_RESTART" = 'yes' ]; then
 fi
 fi
 
 
 
 
-if [ -z "$MAIL_SYSTEM" ]; then
+if [ -z "$MAIL_SYSTEM" ] || [ "$MAIL_SYSTEM" = 'remote' ]; then
     exit
     exit
 fi
 fi
 
 

+ 1 - 1
bin/v-restart-proxy

@@ -40,7 +40,7 @@ if [ -z "$1" ] && [ "$SCHEDULED_RESTART" = 'yes' ]; then
     exit
     exit
 fi
 fi
 
 
-if [ -z "$PROXY_SYSTEM" ]; then
+if [ -z "$PROXY_SYSTEM" ] || [ "$PROXY_SYSTEM" = 'remote' ]; then
     exit
     exit
 fi
 fi
 
 

+ 1 - 2
bin/v-restart-web

@@ -40,8 +40,7 @@ if [ -z "$1" ] && [ "$SCHEDULED_RESTART" = 'yes' ]; then
     exit
     exit
 fi
 fi
 
 
-
-if [ -z "$WEB_SYSTEM" ]; then
+if [ -z "$WEB_SYSTEM" ] || [ "$WEB_SYSTEM" = 'remote' ]; then
     exit
     exit
 fi
 fi