summaryrefslogtreecommitdiff
path: root/bootstrap-bluegreen
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-03-25 14:43:29 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2019-03-25 14:44:51 +0100
commit8917409c4fbd5ec311e52b349872233e23b70ab6 (patch)
treed568688e9f952c9551d370890026e4a4b41868c4 /bootstrap-bluegreen
parent308225aff3ab06f979fa4eeb11cbeee21840b22b (diff)
downloaddeployment-8917409c4fbd5ec311e52b349872233e23b70ab6.tar.gz
deployment-8917409c4fbd5ec311e52b349872233e23b70ab6.tar.bz2
deployment-8917409c4fbd5ec311e52b349872233e23b70ab6.zip
More automation for demo/test deployment.
Diffstat (limited to 'bootstrap-bluegreen')
-rwxr-xr-xbootstrap-bluegreen7
1 files changed, 4 insertions, 3 deletions
diff --git a/bootstrap-bluegreen b/bootstrap-bluegreen
index 6026aa5..a11c45f 100755
--- a/bootstrap-bluegreen
+++ b/bootstrap-bluegreen
@@ -12,9 +12,9 @@
# demo-blue$ ~/deployment/bootstrap-bluegreen demo
# demo-green$ ~/deployment/bootstrap-bluegreen demo
-# There MUST be a user with the same name
-# as the deployment basename to share data
-# between the blue/green deployment.
+# NOTE: ENVNAME is also the name of the user who keeps
+# shared data in its home directory, so it must exist!
+# For demo/test ENVNAMEs, see {demo,test}.sh
set -eu
@@ -104,3 +104,4 @@ export TALER_ENV_URL_BACKOFFICE="https://backoffice.$ENVNAME.taler.net/"
EOL
ln -sf "/home/$ENVNAME/shared-data" "$HOME"
+mkdir -p "$HOME/sockets"