ok

Mini Shell

Direktori : /opt/cpanel/ea-tomcat85/
Upload File :
Current File : //opt/cpanel/ea-tomcat85/sample.ea-tomcat85.service

# Systemd unit file for tomcat
[Unit]
Description=Apache Tomcat Web Application Container
After=syslog.target network.target

[Service]
Type=forking

Environment=CATALINA_HOME=/opt/cpanel/ea-tomcat85
Environment=CATALINA_BASE=/opt/cpanel/ea-tomcat85
Environment=CATALINA_PID=/var/run/ea-tomcat85/catalina.pid

User=tomcat
Group=tomcat

ExecStart=/opt/cpanel/ea-tomcat85/bin/startup.sh
ExecStop=/opt/cpanel/ea-tomcat85/bin/shutdown.sh

RestartSec=10
Restart=always
TimeoutStartSec=0 # infinity, does not work as documented ATM

[Install]
WantedBy=multi-user.target

Zerion Mini Shell 1.0