Browse Source

change service type to notify for systemd so its status is OK only when service is initialized successfully

Tiger Wang 2 years ago
parent
commit
b41d855f73
1 changed files with 2 additions and 2 deletions
  1. 2 2
      build/scripts/setup/service.d/casaos/debian/setup-casaos.sh

+ 2 - 2
build/scripts/setup/service.d/casaos/debian/setup-casaos.sh

@@ -40,6 +40,6 @@ else
     echo "Enabling service..."
     systemctl enable --force --no-ask-password "${APP_NAME}.service"
 
-    echo "Starting service..."
-    systemctl start --force --no-ask-password "${APP_NAME}.service"
+    #echo "Starting service..."
+    #systemctl start --force --no-ask-password "${APP_NAME}.service"
 fi