pki-servlet-engine/tomcat-9.0.service

22 lines
463 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
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
SuccessExitStatus=143
User=tomcat
UMask=027
[Install]
WantedBy=multi-user.target