pki-servlet-engine/tomcat-8.0.service

23 lines
467 B
SYSTEMD
Raw Normal View History

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