summaryrefslogtreecommitdiffstats
path: root/systemd/jira_tripsit.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/jira_tripsit.service')
-rw-r--r--systemd/jira_tripsit.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/systemd/jira_tripsit.service b/systemd/jira_tripsit.service
new file mode 100644
index 0000000..efef295
--- /dev/null
+++ b/systemd/jira_tripsit.service
@@ -0,0 +1,19 @@
+[Unit]
+Description = TripSit Jira Server
+After=syslog.target network.target
+
+[Service]
+Type=forking
+Environment=JIRA_HOME=/opt/atlassian/homes/jira
+Environment=JAVA_HOME=/opt/jdk
+PermissionsStartOnly=true
+User=jira
+Group=atlassian
+ExecStart=/opt/jira/bin/startup.sh
+ExecStop=/opt/jira/bin/shutdown.sh
+TimeoutStartSec=120
+TimeoutStopSec=600
+PrivateTmp=true
+
+[Install]
+WantedBy = multi-user.target