Branch: refs/heads/stable-14.10.x
Home:
https://github.com/xwiki/xwiki-platform
Commit: 86ec6fc203f29fdfae0e8f96d9e4b9a73f8691ea
https://github.com/xwiki/xwiki-platform/commit/86ec6fc203f29fdfae0e8f96d9e4…
Author: Gunter Ohrner <go(a)ohrner-it.com>
Date: 2023-11-24 (Fri, 24 Nov 2023)
Changed paths:
M
xwiki-platform-distribution/xwiki-platform-distribution-debian/xwiki-platform-distribution-debian-tomcat/xwiki-platform-distribution-debian-tomcat9-mariadb/src/deb/control/postinst
M
xwiki-platform-distribution/xwiki-platform-distribution-debian/xwiki-platform-distribution-debian-tomcat/xwiki-platform-distribution-debian-tomcat9-mysql/src/deb/control/postinst
M
xwiki-platform-distribution/xwiki-platform-distribution-debian/xwiki-platform-distribution-debian-tomcat/xwiki-platform-distribution-debian-tomcat9-pgsql/src/deb/control/postinst
Log Message:
-----------
XWIKI-21608: XWIKI-21509 Broke Upgrade if Tomcat Service is Running, 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.
(cherry picked from commit 6d56ea3ecc97cdd12e96577c669ea08878e6c527)