mirror of
https://github.com/KaySar12/NextZen-UserService.git
synced 2025-10-06 19:59:42 +07:00
fix service startup issue (#13)
- update service to be ready only when initialization is completed - remove starting service within setup script (let calling script to start the service instead)
This commit is contained in:
@@ -21,5 +21,5 @@ systemctl daemon-reload
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user