stuff
/ Release (push) Successful in 1m10s Details

This commit is contained in:
Kekskurse 2023-07-21 16:11:16 +02:00
parent 28b5ccca8e
commit 3fde27f83b
Signed by: kekskurse
GPG Key ID: 728ACCB59341E7E4
1 changed files with 5 additions and 1 deletions

View File

@ -5,4 +5,8 @@ else
fi
systemctl daemon-reload
systemctl is-active --quiet http-server-status && systemctl restart http-server-status && echo "Restart Service"
STATUS="$(systemctl is-active tomcat.service)"
if [ "${STATUS}" = "active" ]; then
systemctl restart http-server-status
echo "Restart Service"
fi