forked from pool/tomcat
- Update to Tomcat 9.0.91 * Fixed CVEs: + CVE-2024-34750: Improper handling of exceptional conditions (bsc#1227399) OBS-URL: https://build.opensuse.org/request/show/1186216 OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat?expand=0&rev=312
27 lines
604 B
Desktop File
27 lines
604 B
Desktop File
# Systemd unit file for tomcat instances.
|
|
#
|
|
# To create clones of this service:
|
|
# 0. systemctl enable tomcat@name.service
|
|
# 1. create catalina.base directory structure in
|
|
# /var/lib/tomcats/name
|
|
# 2. profit.
|
|
|
|
[Unit]
|
|
Description=Apache Tomcat Web Application Container
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
EnvironmentFile=/etc/tomcat/tomcat.conf
|
|
Environment="NAME=%I"
|
|
EnvironmentFile=-/etc/sysconfig/tomcat@%I
|
|
ExecStart=@LIBEXECDIR@/tomcat/server start
|
|
ExecStop=@LIBEXECDIR@/tomcat/server stop
|
|
SuccessExitStatus=143
|
|
User=tomcat
|
|
Group=tomcat
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|