Bamboo failing to start on system reboot

Mark Wolff
Contributor
August 3, 2023

Red Hat Linux 8, using systemctl to fire off the Bamboo start script.   It doesn't come up at first, but if we rerun the systemctl command again after a few minutes, it works.  My IT guy is guessing that Postgres isn't coming up quick enough and Bamboo doesn't come up.  But once Postgres is completely up, the startup works wonderfully.  Does anyone recognize this issue?  Any suggestions?  Putting a "wait" in the start up scripts?

1 answer

1 accepted

2 votes
Answer accepted
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 3, 2023

Hey @Mark Wolff,

Your Systemd Unit file appears to have no specific dependency on your PostgreSQL service and is started immediately upon the system startup.

You can prevent Bamboo from starting immediately by adding a Wants and After property to its Unit file:

[Unit]
Description=The Bamboo CICD
Documentation=https://atlassian.com/bamboo
Wants=postgres.service
After=postgres.service

Here's the recommended SystemD format you can adjust for your needs:

Kind regards,

Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful-- 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.2.4
TAGS
AUG Leaders

Atlassian Community Events