tomcat/tomcat-9.0.service
yaqiangchen af8c356663 Update to 9.0.96
(cherry picked from commit a8d6c0b0fb017406507bda878a1f71b0124c7ebf)
2024-11-13 09:39:44 +08:00

21 lines
453 B
Desktop File

# 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
[Install]
WantedBy=multi-user.target