tomcat8 SRU for bionic uses systemd service instead of init scripts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat8 (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The tomcat8 SRU (LP: #1817567) for bionic introduces a systemd service instead of init scripts.
It is documented in the NEWS file for the tomcat8 package, repeated here:
The tomcat8 package now provides a proper systemd service file.
Here are the notable differences with the init.d script previously used
to start Tomcat:
* The service assumes that Tomcat runs as the tomcat8 user. The user and
group defined in /etc/default/
a different user you have to override the default service file. This is
done by creating a /etc/systemd/
file containing:
[Service]
User=
Group=
* authbind is no longer necessary to bind to privileged ports (< 1024)
* Tomcat log messages are now sent to journald and can be retrieved with:
journalctl -t tomcat8
* The log entries in catalina.out are now timestamped.
* The /var/run/
A community user reported a startup delay for tomcat8, guessing missing entropy at the start?