Skip to content

Instantly share code, notes, and snippets.

@poul-kg poul-kg/teamcity
Created Nov 11, 2015

What would you like to do?
TeamCity startup script for Ubuntu 14.04 on AWS
# /etc/init.d/teamcity
# This will start TeamCity & Default build agent on system startup as ubuntu user
# To run it on every system startup, execute:
# sudo update-rc.d teamcity defaults
case "$1" in
echo "Starting TeamCity"
start-stop-daemon --start --chuid ubuntu:ubuntu --quiet --exec /home/ubuntu/distr/TeamCity/bin/ start > /dev/null
echo "Stopping TeamCity"
/home/ubuntu/distr/TeamCity/bin/ stop > /dev/null
echo "Usage: /etc/init.d/teamcity {start|stop}"
exit 1
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.