2016-04-07 14:59:42 +02:00
|
|
|
# Systemd unit file for default tomcat
|
|
|
|
#
|
|
|
|
# To create clones of this service:
|
|
|
|
# DO NOTHING, use tomcat@.service instead.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Apache Tomcat Web Application Container
|
|
|
|
After=syslog.target network.target
|
|
|
|
|
|
|
|
[Service]
|
2019-05-21 17:07:37 +02:00
|
|
|
TasksMax=576
|
|
|
|
LimitNOFILE=8192
|
2016-04-07 14:59:42 +02:00
|
|
|
Type=simple
|
|
|
|
EnvironmentFile=/etc/tomcat/tomcat.conf
|
|
|
|
Environment="NAME="
|
|
|
|
EnvironmentFile=-/etc/sysconfig/tomcat
|
2022-07-13 15:43:12 +02:00
|
|
|
ExecStart=@LIBEXECDIR@/tomcat/server start
|
|
|
|
ExecStop=@LIBEXECDIR@/tomcat/server stop
|
2016-04-07 14:59:42 +02:00
|
|
|
SuccessExitStatus=143
|
|
|
|
User=tomcat
|
|
|
|
Group=tomcat
|
|
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|