Blame SOURCES/scl-tomcat-systemd.service

8aa4af
# Thermostat tomcat systemd service file for RHEL 7.0.
8aa4af
#
8aa4af
# Please start tomcat via "service tomcat@thermostat start" or
8aa4af
# "systemctl start tomcat@thermostat" instead if you are using
8aa4af
# RHEL-7.1.
8aa4af
[Unit]
8aa4af
Description=Apache Tomcat for Thermostat Container
8aa4af
After=syslog.target network.target
8aa4af
8aa4af
[Service]
8aa4af
Type=forking
8aa4af
# Provides the SERVICE_NAME to tomcat-sysd
8aa4af
EnvironmentFile=__service_file_path__/__service_file_name__
8aa4af
ExecStart=/usr/sbin/tomcat-sysd start
8aa4af
ExecStop=/usr/sbin/tomcat-sysd stop
8aa4af
SuccessExitStatus=143
8aa4af
User=tomcat
8aa4af
Group=tomcat
8aa4af
8aa4af
[Install]
8aa4af
WantedBy=multi-user.target