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?
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--
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.