diff --git a/quickstart/docker/image/ziti-cli-functions.sh b/quickstart/docker/image/ziti-cli-functions.sh index c0b1935c1..d5fafdc48 100755 --- a/quickstart/docker/image/ziti-cli-functions.sh +++ b/quickstart/docker/image/ziti-cli-functions.sh @@ -1380,6 +1380,14 @@ function createZacSystemdFile { return 1 fi + if which node >/dev/null; then + # store the absolute path to the node executable because it's required by systemd on Amazon Linux, at least + NODE_BIN=$(readlink -f $(which node)) + else + echo "ERROR: missing executable 'node'" >&2 + return 1 + fi + cat > "${output_file}" <