Blame SOURCES/tomcat-7.0-jsvc.service

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