Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XWIKI-21608: XWIKI-21509 Broke Upgrade if Tomcat Service is Running, … #2655

Merged
merged 1 commit into from Nov 24, 2023
Merged

Conversation

gohrner
Copy link

@gohrner gohrner commented Nov 24, 2023

…But Not Enabled

If the service is running, we need to restart it in any case, no matter if it's enabled or not.
However is-active does not always seem to work if the package just gets installed (see XWIKI-18624), so also check if it's only enabled and try to restart it then.

See https://forum.xwiki.org/t/no-tomcat-restart-after-xwiki-lts-debian-package-upgrade/13505 for the discussion.

…But Not Enabled

If the service is running, we need to restart it in any case, no matter if
it's enabled or not.
However is-active does not always seem to work if the package just gets
installed (see XWIKI-18624), so also check if it's only enabled and try to
restart it then.
@tmortagne tmortagne merged commit 6dd7cd5 into xwiki:master Nov 24, 2023
@tmortagne
Copy link
Member

tmortagne commented Nov 24, 2023

Thanks for your contribution !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants