22 lines
463 B
SYSTEMD
22 lines
463 B
SYSTEMD
|
# 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]
|
||
|
Type=simple
|
||
|
EnvironmentFile=/etc/tomcat/tomcat.conf
|
||
|
Environment="NAME="
|
||
|
EnvironmentFile=-/etc/sysconfig/tomcat
|
||
|
ExecStart=/usr/libexec/tomcat/server start
|
||
|
SuccessExitStatus=143
|
||
|
User=tomcat
|
||
|
UMask=027
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|