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

This commit is contained in:
Tiger Wang 2022-09-28 18:19:31 -04:00
parent 182bc25343
commit b41d855f73

View file

@ -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