summaryrefslogtreecommitdiff
path: root/bin/taler-deployment-switch-blue
blob: 8ed644de8d2809d02c4e8a8c3ecca9418af095ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

if ! test $(whoami) = test; then
  echo Please run as the 'test' user. Exiting.
  exit 1
fi

rm /home/test/sockets || true
rm /home/test/landing || true
ln -s /home/test-blue/sockets
ln -s /home/test-blue/landing
echo "test-blue" > /home/test/active