summarylogtreecommitdiffstats
path: root/youtrack.service
diff options
context:
space:
mode:
authorfrederik2017-01-14 03:49:33 +0100
committerfrederik2017-01-14 04:31:11 +0100
commitf2ae459ac1322a8d4e562b9336b849dfe76757ad (patch)
tree9d75a94fcc31732ebdfd2029c4826202a3308359 /youtrack.service
downloadaur-f2ae459ac1322a8d4e562b9336b849dfe76757ad.tar.gz
initial commit
Diffstat (limited to 'youtrack.service')
-rw-r--r--youtrack.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/youtrack.service b/youtrack.service
new file mode 100644
index 000000000000..288db15d2b00
--- /dev/null
+++ b/youtrack.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=youtrack
+After=syslog.target
+
+[Service]
+Type=simple
+User=youtrack
+Group=youtrack
+
+PrivateTmp=yes
+EnvironmentFile=/etc/youtrack/youtrack.conf
+
+ExecStart=/usr/bin/java ${JOPTS} -Djava.awt.headless=true -Djetty.home=/tmp -Ddatabase.location=${DB_LOCATION} -jar /usr/share/youtrack/youtrack.jar ${YPORT}
+SuccessExitStatus=143
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file