Fix confluence service file

This commit is contained in:
Markus 2018-02-28 14:31:46 +01:00
parent 22658ad858
commit bc1828e2d6

View File

@ -1,10 +1,13 @@
[Unit]
Description=Confluence
After=network.target
Description=Confluence Team Collaboration Software
After=network.target postgresql.service
[Service]
ExecStart=/bin/su confluence /opt/atlassian-confluence/bin/start-confluence.sh
ExecStop=/bin/su confluence /opt/atlassian-confluence/bin/stop-confluence.sh
Type=forking
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]
WantedBy=multi-user.target