# Runs the Bamboo agent.
description bamboo

# Restart the service anytime it crashes.
respawn

chdir /home/bamboo

setuid bamboo

# These environment variables are used by various things (setup script, Ansible)
# and aren't set by default.
env HOME='/home/bamboo'
export HOME
env USER='bamboo'
export USER

exec /usr/bin/java -jar /home/bamboo/atlassian-bamboo-agent-installer-5.12.4-D20160704T134120.jar https://jira.zooxlabs.com/builds/agentServer/ -t ef770629f270ce2c75b0916616dc701b0dfc2556
