java -jar atlassian-bamboo-agent-installer-6.10.2.jar https://bamboo.zooxlabs.com/agentServer/ start 2> log.txt
if [ "$?" == "0" ]; then
    echo "Started Bamboo Agent"
else
    echo "Error starting Bamboo Agent. See log.txt for details"
fi
