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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.