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:
Tiger Wang (王豫)
2022-09-06 19:13:00 -04:00
committed by GitHub
parent 931d466df6
commit ace8e30dfb
5 changed files with 24 additions and 2 deletions
@@ -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"