archrelease: copy trunk to testing-x86_64
[arch-packages.git] / tomcat8 / trunk / tomcat8.service
blob9be63f6be67ca785c870bfde8a70ac9e5f36fa9f
1 [Unit]
2 Description=Tomcat 8 servlet container
3 After=network.target
5 [Service]
6 Type=forking
7 PIDFile=/var/run/tomcat8.pid
8 Environment=CATALINA_PID=/var/run/tomcat8.pid
9 Environment=TOMCAT_JAVA_HOME=/usr/lib/jvm/default-runtime
10 Environment=CATALINA_HOME=/usr/share/tomcat8
11 Environment=CATALINA_BASE=/usr/share/tomcat8
12 Environment=CATALINA_OPTS=
13 Environment=ERRFILE=SYSLOG
14 Environment=OUTFILE=SYSLOG
16 ExecStart=/usr/bin/jsvc \
17             -Dcatalina.home=${CATALINA_HOME} \
18             -Dcatalina.base=${CATALINA_BASE} \
19             -Djava.io.tmpdir=/var/tmp/tomcat8/temp \
20             -cp /usr/share/java/commons-daemon.jar:/usr/share/java/eclipse-ecj.jar:${CATALINA_HOME}/bin/bootstrap.jar:${CATALINA_HOME}/bin/tomcat-juli.jar \
21             -user tomcat8 \
22             -java-home ${TOMCAT_JAVA_HOME} \
23             -pidfile /var/run/tomcat8.pid \
24             -errfile ${ERRFILE} \
25             -outfile ${OUTFILE} \
26             $CATALINA_OPTS \
27             org.apache.catalina.startup.Bootstrap
29 ExecStop=/usr/bin/jsvc \
30             -pidfile /var/run/tomcat8.pid \
31             -stop \
32             org.apache.catalina.startup.Bootstrap
34 [Install]
35 WantedBy=multi-user.target