diff --git a/enos/modules/vault_cluster/scripts/enable_audit_logging.sh b/enos/modules/vault_cluster/scripts/enable_audit_logging.sh index 8e087fac7c..2ec35a4eab 100644 --- a/enos/modules/vault_cluster/scripts/enable_audit_logging.sh +++ b/enos/modules/vault_cluster/scripts/enable_audit_logging.sh @@ -1,14 +1,10 @@ -#!/bin/env sh +#!/bin/env bash # Copyright (c) HashiCorp, Inc. # SPDX-License-Identifier: BUSL-1.1 - - set -eux -LOG_DIR="$(dirname "$LOG_FILE_PATH")" - -# Run nc to listen to port 9090 -nc -l 9090 & +# Run nc to listen to port 9090 for the socket audit log +nohup nc -l 9090 &>/dev/null