Blame SOURCES/tomcat-7.0-jsvc.service

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