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