Jasper-Reports-Publisher/tomcat.service

19 lines
321 B
SYSTEMD
Raw Normal View History

2024-01-29 17:01:55 +00:00
[Unit]
Description=Tomcat $TOMCAT_VER
After=multi-user.target
[Service]
User=tomcat
Group=tomcat
WorkingDirectory=$CATALINA_HOME
Type=forking
Restart=always
EnvironmentFile=/etc/environment
ExecStart=$CATALINA_HOME/bin/startup.sh
ExecStop=$CATALINA_HOME/bin/shutdown.sh 60 -force
[Install]
WantedBy=multi-user.target