diff options
author | Will Holland <william.holland@codethink.co.uk> | 2015-09-18 18:11:06 +0100 |
---|---|---|
committer | Will Holland <william.holland@codethink.co.uk> | 2015-09-18 18:11:06 +0100 |
commit | 880bbebd3d3529cece81925db5be860662ae0e80 (patch) | |
tree | e7ec43949d1e83b3b5ea5f32664a6ff10f4e22ad /start | |
download | ciat-slave-880bbebd3d3529cece81925db5be860662ae0e80.tar.gz |
Initial commit
Install and run a buildbot slave in a virtualenv
Diffstat (limited to 'start')
-rwxr-xr-x | start | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +#!/bin/bash +set -ex + +teardown () { + echo "Stopping Slave" + cd ../orchenv-slave + ./bin/buildslave stop slave +} + +trap "teardown" SIGINT SIGTERM +cd slavenv +./bin/buildslave start SLAVENAME |