pki-servlet-engine/tomcat-7.0.service
Ivan Afonichev ddfc98c4f4 +- Drop %%update_maven_depmap as in tomcat6
+- Provide native systemd unit file ported from tomcat6
2011-11-11 01:48:56 +04:00

20 lines
510 B
Desktop File

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