Skip to content

Instantly share code, notes, and snippets.

View tsengeagle's full-sized avatar
🌴
On vacation

曾義格 tsengeagle

🌴
On vacation
View GitHub Profile
@zengxs
zengxs / tomcat.service
Last active August 14, 2022 17:26
tomcat systemd service script
# Systemd unit file for tomcat
[Unit]
Description=Apache Tomcat Web Application Container
After=syslog.target network.target
[Service]
Type=forking
Environment=JAVA_HOME=/usr/lib/jvm/jre
Environment=CATALINA_PID=/opt/tomcat/temp/tomcat.pid