2024-05-10 23:32:00 +08:00
|
|
|
[Unit]
|
|
|
|
Description=Apache Tomcat
|
|
|
|
Documentation=https://tomcat.apache.org
|
|
|
|
After=network-online.target firewalld.service
|
|
|
|
Wants=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
2024-06-14 22:12:00 +08:00
|
|
|
Group=root
|
|
|
|
User=root
|
2024-05-10 23:32:00 +08:00
|
|
|
ExecStart=/opt/tomcat/apache-tomcat-9.0.89/bin/startup.sh
|
|
|
|
Restart=always
|
2024-06-14 22:12:00 +08:00
|
|
|
PrivateTmp=true
|
2024-05-10 23:32:00 +08:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|