From 570ed2aed2c1e5465767019b1de52fbd8028fad4 Mon Sep 17 00:00:00 2001 From: Georg Date: Wed, 21 Jul 2021 13:04:22 +0200 Subject: Initial Systemd Service Run: 3/3 Signed-off-by: Georg --- systemd/confluence_psyched.service | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 systemd/confluence_psyched.service (limited to 'systemd/confluence_psyched.service') diff --git a/systemd/confluence_psyched.service b/systemd/confluence_psyched.service new file mode 100644 index 0000000..9a479e2 --- /dev/null +++ b/systemd/confluence_psyched.service @@ -0,0 +1,19 @@ +[Unit] +Description = Confluence Server +After=syslog.target network.target + +[Service] +Type=forking +#Environment=CONFLUENCE_HOME=/opt/atlassian/homes/confluence +Environment=JAVA_HOME=/opt/jdk +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 -- cgit v1.2.3