26 lines
538 B
Desktop File
26 lines
538 B
Desktop File
# 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]
|
|
TasksMax=576
|
|
LimitNOFILE=8192
|
|
Type=simple
|
|
EnvironmentFile=/etc/tomcat/tomcat.conf
|
|
Environment="NAME="
|
|
EnvironmentFile=-/etc/sysconfig/tomcat
|
|
ExecStart=@LIBEXECDIR@/tomcat/server start
|
|
ExecStop=@LIBEXECDIR@/tomcat/server stop
|
|
SuccessExitStatus=143
|
|
User=tomcat
|
|
Group=tomcat
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|