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
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

417 views 0 8
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