diff options
Diffstat (limited to 'buildbot/restart.sh')
-rwxr-xr-x | buildbot/restart.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/buildbot/restart.sh b/buildbot/restart.sh new file mode 100755 index 0000000..425300b --- /dev/null +++ b/buildbot/restart.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +active=$(sudo -u test cat /home/test/active) +nonactive="test-blue" +echo "Active party: ${active}" + +sudo -u $nonactive bash -c 'cd $HOME; . activate; taler-deployment-restart' |