You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
463 B
22 lines
463 B
2 years ago
|
# 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
|