瀏覽代碼

Fix service restart calls in upgrade.sh

Kristan Kenney 5 年之前
父節點
當前提交
c1fcee6434
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      func/upgrade.sh

+ 3 - 3
func/upgrade.sh

@@ -804,20 +804,20 @@ upgrade_restart_services() {
             if [ "$DEBUG_MODE" = "true" ]; then
             if [ "$DEBUG_MODE" = "true" ]; then
                 echo "      - $FIREWALL_EXTENSION"
                 echo "      - $FIREWALL_EXTENSION"
             fi
             fi
-            $BIN/v-restart-service $FIREWALL_EXTENSION yes
+            $BIN/v-restart-service $FIREWALL_EXTENSION
         fi
         fi
         # Restart SSH daemon service
         # Restart SSH daemon service
         if [ "$DEBUG_MODE" = "true" ]; then
         if [ "$DEBUG_MODE" = "true" ]; then
             echo "      - sshd"
             echo "      - sshd"
         fi
         fi
-        $BIN/v-restart-service ssh $restart
+        $BIN/v-restart-service ssh
     fi
     fi
 
 
     # Always restart the Hestia Control Panel service
     # Always restart the Hestia Control Panel service
     if [ "$DEBUG_MODE" = "true" ]; then
     if [ "$DEBUG_MODE" = "true" ]; then
         echo "      - hestia"
         echo "      - hestia"
     fi
     fi
-    $BIN/v-restart-service hestia $restart
+    $BIN/v-restart-service hestia
 }
 }
 
 
 upgrade_perform_cleanup() {
 upgrade_perform_cleanup() {