forked from pool/tomcat
122197843b
- package was partly merged with the scripts used in the Fedora distribution - support running multiple tomcat instances on the same server (fate#317783) - add catalina-jmx-remote.jar (fate#318403) - remove sysvinit support: systemd is required OBS-URL: https://build.opensuse.org/request/show/385746 OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat?expand=0&rev=83
24 lines
500 B
Desktop File
24 lines
500 B
Desktop File
# Systemd unit file for default tomcat
|
|
#
|
|
# To create clones of this service:
|
|
# DO NOTHING, use tomcat@.service instead.
|
|
|
|
[Unit]
|
|
Description=Apache Tomcat Web Application Container
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
EnvironmentFile=/etc/tomcat/tomcat.conf
|
|
Environment="NAME="
|
|
EnvironmentFile=-/etc/sysconfig/tomcat
|
|
ExecStart=/usr/lib/tomcat/server start
|
|
ExecStop=/usr/lib/tomcat/server stop
|
|
SuccessExitStatus=143
|
|
User=tomcat
|
|
Group=tomcat
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|