Skip to content
Commits on Source (34)
tomcat9 (9.0.16-5) UNRELEASED; urgency=medium
tomcat9 (9.0.16-5) experimental; urgency=low
* Team upload.
* Upload to experimental to get wider testing and availability
* debian/logging.properties: Add commented-out non-systemd configuration
* Make tomcat9 installable without systemd:
- Readd logic to create the system user via adduser
- Add sysvinit script, for init independence (Closes: #925473)
* debian/README.Debian: Document non-systemd risks
* Reduce postinst complexity: extract user creation into separate script
* Do not read /etc/default/tomcat9 twice
-- Thorsten Glaser <tg@mirbsd.de> Tue, 02 Apr 2019 22:54:17 +0200
-- Thorsten Glaser <tg@mirbsd.de> Fri, 21 Jun 2019 18:38:08 +0200
tomcat9 (9.0.16-4) unstable; urgency=medium
......
......@@ -6,7 +6,7 @@
set -e
# Load the service settings
. /etc/default/tomcat9
test x"${TOMCAT9_DEFAULTS_FILE_READ-}" = x"1" || . /etc/default/tomcat9
# Find the Java runtime and set JAVA_HOME
. /usr/libexec/tomcat9/tomcat-locate-java.sh
......
......@@ -59,6 +59,7 @@ UMASK=022
export UMASK
# read options
test -r /etc/default/tomcat9 && . /etc/default/tomcat9
TOMCAT9_DEFAULTS_FILE_READ=1; export TOMCAT9_DEFAULTS_FILE_READ
# ensure the temporary directory exist and change to it
rm -rf "$CATALINA_TMPDIR"
......
......@@ -37,7 +37,7 @@ ProtectSystem=strict
ReadWritePaths=/etc/tomcat9/Catalina/
ReadWritePaths=/var/lib/tomcat9/webapps/
ReadWritePaths=/var/log/tomcat9/
RequiresMountsFor=/var/log/tomcat9
RequiresMountsFor=/var/log/tomcat9 /var/lib/tomcat9
[Install]
WantedBy=multi-user.target