# Systemd unit file for tomcat # # You can clone this service by adding a new EnvironmentFile declaring the new # values for CATALINA_BASE et all [Unit] Description=Apache Tomcat Web Application Container After=syslog.target network.target [Service] Type=simple EnvironmentFile=/etc/tomcat/tomcat.conf User=tomcat Group=tomcat ExecStart=/usr/sbin/tomcat-sysd start ExecStop=-/usr/sbin/tomcat-sysd stop [Install] WantedBy=multi-user.target