39188a6b30
- don't use and recommends logrotate OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat?expand=0&rev=23
24 lines
503 B
Desktop File
24 lines
503 B
Desktop File
# Systemd unit file for tomcat
|
|
#
|
|
# You can clone this service by:
|
|
# 1.) Add a new EnvironmentFile declaring the new values for CATALINA_BASE
|
|
# and others
|
|
|
|
[Unit]
|
|
Description=Apache Tomcat Web Application Container
|
|
After=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
|
|
StandardOutput=syslog
|
|
SyslogIdentifier=%n
|
|
SyslogFacility=daemon
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|