mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-08-28 08:09:40 +00:00
change service type to notify for systemd so its status is OK only when service is initialized successfully
This commit is contained in:
parent
ec7f6573ad
commit
3787c7bf99
@ -40,6 +40,6 @@ else
|
|||||||
echo "Enabling service..."
|
echo "Enabling service..."
|
||||||
systemctl enable --force --no-ask-password "${APP_NAME}.service"
|
systemctl enable --force --no-ask-password "${APP_NAME}.service"
|
||||||
|
|
||||||
echo "Starting service..."
|
#echo "Starting service..."
|
||||||
systemctl start --force --no-ask-password "${APP_NAME}.service"
|
#systemctl start --force --no-ask-password "${APP_NAME}.service"
|
||||||
fi
|
fi
|
Loading…
x
Reference in New Issue
Block a user