tomcat: Don't use forking in tomcat.service #140
|
@ -25,6 +25,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
* mongodb: Deny the install on Debian 11 « Bullseye » when the version is unsupported
|
* mongodb: Deny the install on Debian 11 « Bullseye » when the version is unsupported
|
||||||
* mongodb: Support version 5.0 (for buster)
|
* mongodb: Support version 5.0 (for buster)
|
||||||
* mongodb: Allow to specify a mongodb version for buster & bullseye
|
* mongodb: Allow to specify a mongodb version for buster & bullseye
|
||||||
|
* tomcat : tomcat.service without forking and secondary daemon manager (`catalina.sh start` which is launched by `startup.sh` try to manage the tomcat daemon)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,10 @@ WorkingDirectory=%h
|
||||||
Environment="CATALINA_BASE=%h"
|
Environment="CATALINA_BASE=%h"
|
||||||
EnvironmentFile=%h/conf/env
|
EnvironmentFile=%h/conf/env
|
||||||
UMask=0002
|
UMask=0002
|
||||||
ExecStart=/usr/share/tomcat{{ tomcat_version }}/bin/startup.sh
|
ExecStart=/usr/share/tomcat{{ tomcat_version }}/bin/catalina.sh run
|
||||||
ExecStop=/usr/share/tomcat{{ tomcat_version }}/bin/shutdown.sh
|
Restart=on-failure
|
||||||
Type=forking
|
|
||||||
|
SyslogIdentifier=tomcat-instance-%u
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|
Loading…
Reference in a new issue