Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Launch Bamboo on Mac OS X as a StartupItem

Gregory Kellum August 24, 2011

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

1 vote
Gregory Kellum September 8, 2011

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>

0 votes
James Dumay
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 8, 2011

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
TAGS
AUG Leaders

Atlassian Community Events