dev: create directories for cluster script (#6927)

This commit is contained in:
Tim Gross 2020-01-10 14:25:57 -05:00 committed by GitHub
parent 4f6a8263ef
commit 6ad9cc186d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,8 @@
#!/usr/bin/env bash
set -e
mkdir -p /tmp/server{1,2,3} /tmp/client{1,2}
# launch server
( nomad agent -config=server1.hcl 2>&1 | tee "/tmp/server1/log" ; echo "Exit code: $?" >> "/tmp/server1/log" ) &