Skip to content

Commit

Permalink
dev: create directories for cluster script (#6927)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross committed Jan 10, 2020
1 parent dd23460 commit 19711d1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dev/cluster/cluster.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# launch server
#!/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" ) &

( nomad agent -config=server2.hcl 2>&1 | tee "/tmp/server2/log" ; echo "Exit code: $?" >> "/tmp/server2/log" ) &
Expand Down

0 comments on commit 19711d1

Please sign in to comment.