stuff
All checks were successful
/ Release (push) Successful in 1m10s

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

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