taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 10be4bfcb08c881d63af611491f35e9a5378bb77
parent 27c9d6b656bf6d2430e78fa98b6645cd41b752a9
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Fri, 14 Jul 2017 16:48:33 +0200

missing check

Diffstat:
Mbuildbot/restart.sh | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/buildbot/restart.sh b/buildbot/restart.sh @@ -4,4 +4,8 @@ active=$(sudo -u test cat /home/test/active) nonactive="test-blue" echo "Active party: ${active}" +if test $active = "test-blue"; then + nonactive="test-green" +fi + sudo -u $nonactive bash -c 'cd $HOME; . activate; taler-deployment-restart'