summaryrefslogtreecommitdiffstats
path: root/systemd/confluence.service
blob: 9a479e28e690ccae0aca6e0849e1fb4dcee042e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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