forked from FF-RGB/ansible
Fix confluence service file
This commit is contained in:
parent
22658ad858
commit
bc1828e2d6
@ -1,10 +1,13 @@
|
||||
[Unit]
|
||||
Description=Confluence
|
||||
After=network.target
|
||||
[Unit]
|
||||
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
|
||||
[Service]
|
||||
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
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user