Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to delay Jira/Confluence service startup in CentOS?

Jamie Francis
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 28, 2018

For some reason Jira throws a bunch of errors if it starts straight away on OS boot. I want to delay it by a minute or so. Is this possible?

2 answers

1 accepted

1 vote
Answer accepted
Alexis Robert
Community Champion
November 28, 2018

Hi @Jamie Francis

 

you could simply add a line to instruct the init script to wait for 60 seconds:

 

sleep 60;

 

You could also change the order of your init scripts as described in this documentation.

 

Let me know if you have any questions, 

 

--Alexis 

Jamie Francis
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 30, 2018

Thanks! I will give that a try

1 vote
Mirek
Community Champion
November 28, 2018

Yes. Probably by few methods (depends if apps are installed as aa service or not). One of them is to create a startup script for your apps and put on the beginning

sleep 60

and execute it from rc.local that should delay by a minute.

Suggest an answer

Log in or Sign up to answer