diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-04-16 12:24:44 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-04-16 12:24:44 +0200 |
commit | 943cadd51ad2c67d85f9aa70866c957f9e00102a (patch) | |
tree | 82819343d305ad024ffb89cfb19d41912af801cb /buildbot/restart.sh | |
parent | a4017d35912015487a44190dd7a57110fa9177e6 (diff) | |
download | deployment-943cadd51ad2c67d85f9aa70866c957f9e00102a.tar.gz deployment-943cadd51ad2c67d85f9aa70866c957f9e00102a.tar.bz2 deployment-943cadd51ad2c67d85f9aa70866c957f9e00102a.zip |
syntax
Diffstat (limited to 'buildbot/restart.sh')
-rwxr-xr-x | buildbot/restart.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/buildbot/restart.sh b/buildbot/restart.sh index 19a18d1..a14963c 100755 --- a/buildbot/restart.sh +++ b/buildbot/restart.sh @@ -4,6 +4,7 @@ DEPLOYMENT="test" if test "stable" = ${BRANCH}; then DEPLOYMENT="demo" +fi active=$(sudo -u ${DEPLOYMENT} cat /home/${DEPLOYMENT}/active) nonactive="${DEPLOYMENT}-blue" |