ansible-roles/tomcat
Mathieu Trossevin 503806e9e6
tomcat: Don't use forking in tomcat.service
Having `ExecStart=[…]/catalina.sh run` and `Type=simple` result in
tomcat doing everything systemd is expecting without the need to fork or
adding a secondary daemon manager just for this tomcat service.

That means that we don't need ExecStop anymore as the shutdown port is
only there as a OS agnostic shutdown method. The jsvc (aka officially
documented) method of launching tomcat use signals to stop the service
just as systemd will when no ExecStop= is in the unit file so we know it
will work properly.

Moreover add the SyslogIdentifier= directive to make each tomcat easier
to find in the system log.
2021-11-24 11:04:31 +01:00
..
defaults tomcat: root directory owner/group are configurable 2020-08-27 17:12:34 +02:00
meta Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
tasks Preliminary support for Bullseye 2021-07-02 20:58:09 +02:00
templates tomcat: Don't use forking in tomcat.service 2021-11-24 11:04:31 +01:00
.kitchen.yml Split tomcat-instance in tomcat + tomcat-instance 2017-07-03 17:37:06 +02:00
README.md tomcat: compatible with Tomcat7 and Tomcat8 2017-12-08 10:33:33 +01:00

tomcat

Install Tomcat and its dependencies for multiple instances.

Available variables

tomcat_instance_root: Root dir for Tomcat instance (default: /srv/tomcat)