diff options
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 |