Confluence - When to use start-confluence.sh vs startup.sh

I'm attempting to install the latest version of Confluence (5.4.3) via the unpackage method in linux.

I'm looking to find or write my own init script so I can start the service using the command "service start confluence".

I'm a little confused about if I should be using start-confluence.sh or startup.sh within my init script.

start-confluence.sh # executes either catalina.sh or startup.sh

startup.sh # executes catalina.sh

catalina.sh # doe the real work, also reads in data from setenv.sh & setclasspath.sh

This article suggests startup.sh:
https://confluence.atlassian.com/display/DOC/Start+Confluence+Automatically+on+Linux

This article asks a simliar question but no answer:
https://jira.atlassian.com/browse/JRA-23953

This article suggest "start-confluence.sh" is the new script and should be used:
https://confluence.atlassian.com/pages/viewpage.action?pageId=261752746

The information I have so far appears to be conflicing, can anyone give me any insights into this?

1 answer

This widget could not be displayed.

Hi Andrew

All the articles you mentioned has a valid information.
For additional information, running startup.sh will execute the application using the current user. But start-confluence.sh will execute the application using the user mentioned in user.sh. If the user.sh doesn't specify any user, it will execute the application using the current user.
This affects the directory/file permission when running Confluence.

Regards,
Samuel

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

140 views 12 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you