cbe921
# Systemd unit file for default tomcat
cbe921
# 
cbe921
# To create clones of this service:
cbe921
# DO NOTHING, use tomcat@.service instead.
cbe921
cbe921
[Unit]
cbe921
Description=Apache Tomcat Web Application Container
cbe921
After=syslog.target network.target
cbe921
cbe921
[Service]
cbe921
Type=simple
cbe921
EnvironmentFile=/etc/tomcat/tomcat.conf
cbe921
Environment="NAME="
cbe921
EnvironmentFile=-/etc/sysconfig/tomcat
cbe921
ExecStart=/usr/libexec/tomcat/server start
cbe921
SuccessExitStatus=143
cbe921
User=tomcat
cbe921
cbe921
[Install]
cbe921
WantedBy=multi-user.target