Explorar el Código

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

Tiger Wang hace 2 años
padre
commit
3787c7bf99
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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