Fix confluence service file
This commit is contained in:
parent
22658ad858
commit
bc1828e2d6
@ -1,10 +1,13 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Confluence
|
Description=Confluence Team Collaboration Software
|
||||||
After=network.target
|
After=network.target postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/su confluence /opt/atlassian-confluence/bin/start-confluence.sh
|
Type=forking
|
||||||
ExecStop=/bin/su confluence /opt/atlassian-confluence/bin/stop-confluence.sh
|
User=confluence
|
||||||
|
PIDFile=/opt/atlassian/confluence/work/catalina.pid
|
||||||
|
ExecStart=/opt/atlassian/confluence/bin/start-confluence.sh
|
||||||
|
ExecStop=/opt/atlassian/confluence/bin/stop-confluence.sh
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user