Skip to content

Commit

Permalink
Merge pull request #2655 from gohrner/master
Browse files Browse the repository at this point in the history
  • Loading branch information
tmortagne committed Nov 24, 2023
2 parents 23ba75b + 6d56ea3 commit 6dd7cd5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -8,7 +8,7 @@ set -e
#########################

# Restart tomcat9 service (only if it's active)
if systemctl -q is-enabled tomcat9.service
if ( systemctl -q is-active tomcat9.service || systemctl -q is-enabled tomcat9.service )
then
deb-systemd-invoke restart tomcat9.service
fi
Expand Up @@ -8,7 +8,7 @@ set -e
#########################

# Restart tomcat9 service (only if it's active)
if systemctl -q is-enabled tomcat9.service
if ( systemctl -q is-active tomcat9.service || systemctl -q is-enabled tomcat9.service )
then
deb-systemd-invoke restart tomcat9.service
fi
Expand Up @@ -8,7 +8,7 @@ set -e
#########################

# Restart tomcat9 service (only if it's active)
if systemctl -q is-enabled tomcat9.service
if ( systemctl -q is-active tomcat9.service || systemctl -q is-enabled tomcat9.service )
then
deb-systemd-invoke restart tomcat9.service
fi

0 comments on commit 6dd7cd5

Please sign in to comment.