diff options
author | Georg | 2021-07-21 13:04:22 +0200 |
---|---|---|
committer | Georg | 2021-07-21 13:04:22 +0200 |
commit | 570ed2aed2c1e5465767019b1de52fbd8028fad4 (patch) | |
tree | bfd7c1f6d40dc9195aad74104c4600c0fbaaa9aa /systemd/confluence_psyched.service | |
parent | b3cac70a7fd19c1f3e9aae6ac4fea528d7a85865 (diff) | |
download | system-570ed2aed2c1e5465767019b1de52fbd8028fad4.tar.gz system-570ed2aed2c1e5465767019b1de52fbd8028fad4.tar.bz2 system-570ed2aed2c1e5465767019b1de52fbd8028fad4.zip |
Initial Systemd Service Run: 3/3
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'systemd/confluence_psyched.service')
-rw-r--r-- | systemd/confluence_psyched.service | 19 |
1 files changed, 19 insertions, 0 deletions
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 |