summaryrefslogtreecommitdiff
path: root/bin/taler-deployment-switch-test-blue
blob: da16dbc0aaf1fa8c5ba5f76b08aa008af84fe160 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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
rm /home/test/auditor || true
ln -s /home/test-blue/sockets /home/test/sockets
ln -s /home/test-blue/landing /home/test/landing
ln -s /home/test-blue/auditor /home/test/auditor
echo "test-blue" > /home/test/active