Blame SOURCES/scl-tomcat-systemd.service

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