system/systemd/confluence.service
Georg 3d1dead13b
Initial Systemd Service Run: 2/3
Signed-off-by: Georg <georg@lysergic.dev>
2021-07-21 12:47:30 +02:00

20 lines
425 B
Desktop File

[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