summaryrefslogtreecommitdiffstats
path: root/systemd/confluence_tripsit.service
diff options
context:
space:
mode:
authorGeorg2021-07-21 13:04:22 +0200
committerGeorg2021-07-21 13:04:22 +0200
commiteb04685ad152984c5903c94d5f33f5296cf6e277 (patch)
treebfd7c1f6d40dc9195aad74104c4600c0fbaaa9aa /systemd/confluence_tripsit.service
parent3d1dead13b5f3d7674b98a3f8684686d8fbc681e (diff)
downloadsystem-eb04685ad152984c5903c94d5f33f5296cf6e277.tar.gz
system-eb04685ad152984c5903c94d5f33f5296cf6e277.tar.bz2
system-eb04685ad152984c5903c94d5f33f5296cf6e277.zip
Initial Systemd Service Run: 3/3
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'systemd/confluence_tripsit.service')
-rw-r--r--systemd/confluence_tripsit.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/systemd/confluence_tripsit.service b/systemd/confluence_tripsit.service
new file mode 100644
index 0000000..6ba2e93
--- /dev/null
+++ b/systemd/confluence_tripsit.service
@@ -0,0 +1,18 @@
+[Unit]
+Description = TripSit Confluence Server
+After=syslog.target network.target
+
+[Service]
+Type=forking
+Environment=JAVA_HOME=/opt/jdk2
+PermissionsStartOnly=true
+User=confluence
+Group=atlassian
+ExecStart=/opt/confluence/bin/startup.sh
+ExecStop=/opt/confluence/bin/shutdown.sh
+TimeoutStartSec=120
+TimeoutStopSec=600
+PrivateTmp=true
+
+[Install]
+WantedBy = multi-user.target