Explorar o código

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

Jaap Marcus %!s(int64=3) %!d(string=hai) anos
pai
achega
39e23b10f6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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