Commit graph

4 commits

Author SHA1 Message Date
Mathieu Trossevin 503806e9e6
tomcat: Don't use forking in tomcat.service
Some checks failed
continuous-integration/drone/pr Build is failing
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
Victor LABORIE 49dc437880 tomcat: better tomcat version management 2019-02-20 11:28:59 +01:00
Victor LABORIE f3ab0b361b tomcat: better nrpe check output 2018-07-03 12:24:11 +02:00
Victor LABORIE c3db08e6db Split tomcat-instance in tomcat + tomcat-instance 2017-07-03 17:37:06 +02:00