Skip to content

Instantly share code, notes, and snippets.

@arnobroekhof
Created March 19, 2015 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arnobroekhof/3b504c45f63b2e078a1b to your computer and use it in GitHub Desktop.
Save arnobroekhof/3b504c45f63b2e078a1b to your computer and use it in GitHub Desktop.
Bamboo upstart ( init ) script
# description "start and stop the bamboo-agent"
#
start on runlevel [2345]
stop on runlevel [^2345]
console log
chdir /opt/bamboo
setuid bamboo
setgid bamboo
respawn
respawn limit 20 5
exec /usr/bin/java java -jar atlassian-bamboo-agent-installer-X.X-SNAPSHOT.jar -Dbamboo.home=/srv/bamboo http://bamboo-host-server:8085/bamboo/agentServer/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment