Blame SOURCES/tomcat-7.0-jsvc.service

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