Created
March 19, 2015 20:18
-
-
Save arnobroekhof/3b504c45f63b2e078a1b to your computer and use it in GitHub Desktop.
Bamboo upstart ( init ) script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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