12 lines
186 B
SYSTEMD
12 lines
186 B
SYSTEMD
|
[Unit]
|
||
|
Description=Tomcat
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
ExecStart=/opt/tomcat/bin/startup.sh
|
||
|
ExecStop=/opt/tomcat/bin/shutdown.sh
|
||
|
SyslogIdentifier=tomcat
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|