systemd_service/examples/tomcat.service
2024-06-14 06:13:44 +00:00

17 lines
319 B
Desktop File

[Unit]
Description=Apache Tomcat
Documentation=https://tomcat.apache.org
After=network-online.target firewalld.service
Wants=network-online.target
[Service]
Type=forking
Group=root
User=root
ExecStart=/opt/tomcat/apache-tomcat-9.0.89/bin/startup.sh
Restart=always
PrivateTmp=true
[Install]
WantedBy=multi-user.target