blob: 313335f923902c5b2408915fa1b681a9a8fa8a6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
# Every "blue/green" setup relies on a common user that keeps
# all the shared data (keys, for example). In our setup, test-*
# and demo-* rely on the users 'test' and 'demo'. This script
# automates the configuration of the 'test' user.
if ! test "test" = $(whoami); then
echo This script can only be run by the 'test' user, exiting..
exit 1
fi
echo Creating the 'shared-data' directory.
mkdir $HOME/shared-data
|