upgpkg: sbcl 2.2.9-1
[arch-packages.git] / tomcat10 / trunk / tomcat10.service
blob38b36c296805319011238e68da29f2fb896067e9
1 [Unit]
2 Description=Tomcat 10 servlet container
3 After=network.target
5 [Service]
6 Type=forking
7 PIDFile=/var/run/tomcat10.pid
8 Environment=CATALINA_PID=/var/run/tomcat10.pid
9 Environment=TOMCAT_JAVA_HOME=/usr/lib/jvm/default-runtime
10 Environment=CATALINA_HOME=/usr/share/tomcat10
11 Environment=CATALINA_BASE=/usr/share/tomcat10
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/tomcat10/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 tomcat10 \
22             -java-home ${TOMCAT_JAVA_HOME} \
23             -pidfile /var/run/tomcat10.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/tomcat10.pid \
31             -stop \
32             org.apache.catalina.startup.Bootstrap
34 [Install]
35 WantedBy=multi-user.target