Kaynağa Gözat

Fix bug in v-restart-proxy debug_log not working properly

Jaap Marcus 3 yıl önce
ebeveyn
işleme
39e23b10f6
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      bin/v-restart-proxy

+ 1 - 1
bin/v-restart-proxy

@@ -84,7 +84,7 @@ if [ -f "$HESTIA/web/inc/nginx_proxy" ]; then
     # Preform an check if Nginx is valid as reload doesn't throw an error / exit
     if [ "$DEBUG_MODE" = "true" ]; then 
         echo "[ $date | $PROXY_SYSTEM ]"  >> /var/log/hestia/debug.log 2>&1
-        service $PROXY_SYSTEM configtest > /var/log/hestia/debug.log 2>&1
+        service $PROXY_SYSTEM configtest >> /var/log/hestia/debug.log 2>&1
     else
         service $PROXY_SYSTEM configtest > /dev/null 2>&1
     fi