5cb8db1cc4
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/tomcat#f60e452abe83bd7a39a5d2d676b4d9b4b325a83d
23 lines
647 B
Desktop File
23 lines
647 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"
|
|
EnvironmentFile=-/etc/sysconfig/tomcat
|
|
ExecStart=/usr/libexec/tomcat/server start
|
|
ExecStop=/usr/libexec/tomcat/server stop
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|