9 lines
171 B
Bash
Executable file
9 lines
171 B
Bash
Executable file
#!/bin/sh
|
|
set -eu
|
|
varfile="${1:-}"
|
|
test -n "$varfile" || {
|
|
printf 'usage: %s VARFILE\n' "$0"
|
|
exit 1
|
|
}
|
|
|
|
nomad job run -var-file "$varfile" ../jobs/minecraft.nomad.hcl
|