forked from pool/tomcat
4851db8aac
- Update to Tomcat 9.0.2: * Major update for tomcat8 from tomcat9 * For full changelog please read upstream changes at: + http://tomcat.apache.org/tomcat-9.0-doc/changelog.html * Rename all tomcat-8.0-* files to tomcat-9.0-* - Changed patches: * Deleted: tomcat-8.0-bootstrap-MANIFEST.MF.patch * Deleted: tomcat-8.0-sle.catalina.policy.patch * Deleted: tomcat-8.0-tomcat-users-webapp.patch * Deleted: tomcat-8.0.33-JDTCompiler-java.patch * Deleted: tomcat-8.0.44-javadoc.patch * Deleted: tomcat-8.0.9-property-build.windows.patch * Added: tomcat-9.0-JDTCompiler-java.patch * Added: tomcat-9.0-bootstrap-MANIFEST.MF.patch * Added: tomcat-9.0-javadoc.patch * Added: tomcat-9.0-sle.catalina.policy.patch * Added: tomcat-9.0-tomcat-users-webapp.patch - Renamed subpackage tomcat-3_1-api to tomcat-4_0-api - Commented out JAVA_HOME in /etc/tomcat/tomcat.conf - Marked /usr/share/java/*.jar symlinks to /etc/alternatives as %ghost OBS-URL: https://build.opensuse.org/request/show/547624 OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat?expand=0&rev=115
22 lines
600 B
Desktop File
22 lines
600 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 JSVC wrapper
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
EnvironmentFile=/etc/tomcat/tomcat.conf
|
|
Environment="NAME=" "USE_JSVC=true"
|
|
ExecStart=/usr/lib/tomcat/server start
|
|
ExecStop=/usr/lib/tomcat/server stop
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|