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
22 lines
600 B
Desktop File
22 lines
600 B
Desktop File
# Systemd unit file for tomcat
|
|
#
|
|
# To create clones of this service:
|
|
# 1) By default SERVICE_NAME=tomcat. When cloned, the value must be defined
|
|
# before tomcat-sysd is called.
|
|
# 2) Create /etc/sysconfig/${SERVICE_NAME} from /etc/sysconfig/tomcat
|
|
# to override tomcat defaults
|
|
|
|
[Unit]
|
|
Description=Apache Tomcat Web Application Container JSVC wrapper
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
EnvironmentFile=/etc/tomcat/tomcat.conf
|
|
Environment="NAME=" "USE_JSVC=true"
|
|
ExecStart=/usr/lib/tomcat/server start
|
|
ExecStop=/usr/lib/tomcat/server stop
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|