summaryrefslogtreecommitdiff
path: root/tomcat-10.1.service
blob: af224f2d45720aecef26b78c26a5b0a2be3d5ef9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Systemd unit file for default tomcat
# 
# To create clones of this service:
# DO NOTHING, use tomcat10.1.54@.service instead.

[Unit]
Description=Apache Tomcat Web Application Container
After=syslog.target network.target

[Service]
Type=simple
EnvironmentFile=/etc/tomcat10.1.54/tomcat10.1.54.conf
Environment="NAME="
EnvironmentFile=-/etc/sysconfig/tomcat10.1.54
ExecStart=/usr/libexec/tomcat10.1.54/server start
SuccessExitStatus=143
User=tomcat

[Install]
WantedBy=multi-user.target