Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /opt/cpanel/ea-tomcat85/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

ZeroDay Forums Mini