2013-06-11 17:56:51 +00:00
|
|
|
# Systemd unit file for default tomcat
|
2011-11-10 21:48:56 +00:00
|
|
|
#
|
|
|
|
# To create clones of this service:
|
2013-06-11 17:56:51 +00:00
|
|
|
# DO NOTHING, use tomcat@.service instead.
|
2011-11-10 21:48:56 +00:00
|
|
|
|
2011-06-06 21:23:05 +00:00
|
|
|
[Unit]
|
2011-11-10 21:48:56 +00:00
|
|
|
Description=Apache Tomcat Web Application Container
|
2011-06-06 21:23:05 +00:00
|
|
|
After=syslog.target network.target
|
|
|
|
|
|
|
|
[Service]
|
2013-06-11 17:56:51 +00:00
|
|
|
Type=simple
|
2016-03-02 16:40:56 +00:00
|
|
|
EnvironmentFile=/etc/tomcat/tomcat.conf
|
2013-06-11 17:56:51 +00:00
|
|
|
Environment="NAME="
|
2016-03-02 16:40:56 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/tomcat
|
2013-06-11 17:56:51 +00:00
|
|
|
ExecStart=/usr/libexec/tomcat/server start
|
2013-02-03 22:29:10 +00:00
|
|
|
SuccessExitStatus=143
|
2012-08-24 21:48:20 +00:00
|
|
|
User=tomcat
|
2018-06-13 18:20:45 +00:00
|
|
|
UMask=027
|
2011-06-06 21:23:05 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|