blob: 940bce02ac2dfb97788132a8e64f0a4e18081415 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
[Unit]
Description=Atlassian Jira Service
After=syslog.target network.target
[Service]
User=jira
Type=simple
SyslogIdentifier=jira
Environment="CATALINA_HOME=/opt/atlassian-jira"
Environment="CATALINA_BASE=/opt/atlassian-jira"
Environment="CATALINA_TMPDIR=/opt/atlassian-jira/temp"
Environment="JAVA_HOME=/usr/lib/jvm/default"
Environment="CLASSPATH=/opt/atlassian-jira/bin/bootstrap.jar:/opt/atlassian-jira/bin/tomcat-juli.jar"
EnvironmentFile=-/etc/conf.d/jira
SuccessExitStatus=143
ExecStart=/usr/bin/env ${JAVA_HOME}/bin/java \
$JAVA_OPTS $CATALINA_OPTS \
-classpath ${CLASSPATH} \
-Dcatalina.base=${CATALINA_BASE} \
-Dcatalina.home=${CATALINA_HOME} \
-Djava.endorsed.dirs=${JAVA_ENDORSED_DIRS} \
-Djava.io.tmpdir=${CATALINA_TMPDIR} \
-Dmail.mime.decodeparameters=true \
-Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true \
-Djava.awt.headless=true \
-Datlassian.standalone=JIRA \
-Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory \
-XX:+PrintGCDateStamps \
-XX:-OmitStackTraceInFastThrow \
-Djava.util.logging.config.file=${CATALINA_BASE}/conf/logging.properties \
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager \
org.apache.catalina.startup.Bootstrap \
start
ExecStop=/usr/bin/env ${JAVA_HOME}/bin/java \
$JAVA_OPTS \
-classpath ${CLASSPATH} \
-Dcatalina.base=${CATALINA_BASE} \
-Dcatalina.home=${CATALINA_HOME} \
-Djava.endorsed.dirs=${JAVA_ENDORSED_DIRS} \
-Djava.io.tmpdir=${CATALINA_TMPDIR} \
-Djava.util.logging.config.file=${CATALINA_BASE}/conf/logging.properties \
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager \
org.apache.catalina.startup.Bootstrap \
stop
[Install]
WantedBy=multi-user.target
|