Created
June 3, 2015 22:15
-
-
Save vassilevsky/eeb23d4c19ba497eedc9 to your computer and use it in GitHub Desktop.
Upstart job for Bamboo server (/etc/init/bamboo.conf)
This file contains hidden or 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
author "Ilya Vassilevsky <[email protected]>" | |
description "Atlassian Bamboo Server" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
env JAVA_HOME=/usr/java/current | |
env BAMBOO_HOME=/var/lib/bamboo/data | |
export JAVA_HOME | |
export BAMBOO_HOME | |
exec sudo -u bamboo /opt/bamboo/install/bin/start-bamboo.sh -fg >> /var/log/bamboo/bamboo.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment