diff options
author | Georg | 2021-07-21 12:47:30 +0200 |
---|---|---|
committer | Georg | 2021-07-21 12:47:30 +0200 |
commit | 3d1dead13b5f3d7674b98a3f8684686d8fbc681e (patch) | |
tree | 6431154e8ea0e33e5f28d1302d20fdf9062f6a52 /systemd/confluence.service | |
parent | 6410fd8d58e250a877a0bcdab06184e45e707c65 (diff) | |
download | system-3d1dead13b5f3d7674b98a3f8684686d8fbc681e.tar.gz system-3d1dead13b5f3d7674b98a3f8684686d8fbc681e.tar.bz2 system-3d1dead13b5f3d7674b98a3f8684686d8fbc681e.zip |
Initial Systemd Service Run: 2/3
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'systemd/confluence.service')
-rw-r--r-- | systemd/confluence.service | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/systemd/confluence.service b/systemd/confluence.service new file mode 100644 index 0000000..9a479e2 --- /dev/null +++ b/systemd/confluence.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 |