Launch Bamboo on Mac OS X as a StartupItem

Does anyone have a sample configuration file for launching Bamboo as a StartupItem on OS X? I have a Bamboo installation that uses MySQL as its database. I copied and modified the MySQL to start bamboo. But although I can see in the system logs that the script is being called and bamboo.sh console is being called, Bamboo isn't being brought up, and it doesn't leave any messages in its logs explaining why.

2 answers

I ended up configuring bamboo to run as a launch daemon by putting this script in /Library/LaunchDaemons. It would be great if you added this sort of functionality to the installers when you overhaul them later, but just putting a paragraph about this in your installation manual now would probably be enough for most people.

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" ">

<plist version="1.0">

<dict>

<key>Disabled</key>

<false/>

<key>EnvironmentVariables</key>

<dict>

<key>BAMBOO_HOME</key>

<string>/Applications/Bamboo</string>

<key>JAVA_HOME</key>

<string>/Library/Java/Home</string>

</dict>

<key>Label</key>

<string>com.atlassian.bamboo</string>

<key>OnDemand</key>

<false/>

<key>ProgramArguments</key>

<array>

<string>/Applications/Bamboo/bamboo.sh</string>

<string>console</string>

</array>

<key>RunAtLoad</key>

<true/>

<key>ServiceDescription</key>

<string>Bamboo</string>

<key>StandardErrorPath</key>

<string>/Applications/Bamboo/logs/bamboo.stderr</string>

<key>StandardOutPath</key>

<string>/Applications/Bamboo/logs/bamboo.stdout</string>

<key>UserName</key>

<string>root</string>

</dict>

</plist>

Hi Greg,

Unfortunately Bamboo does not ship with a Mac OS X startup item. However, we are going to be doing a major overhaul of our installers in the coming year so I have raised a feature request for this on your behalf.

Cheers,

James

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,568 views 0 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