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

This widget could not be displayed.

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>

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 3 hours ago in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

27 views 0 4
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