mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 12:26:34 +02:00
adjust nc command to ensure ssh session is not blocked (#23139)
This commit is contained in:
parent
6e5bd7abd9
commit
00bbc0bd65
@ -4,7 +4,10 @@
|
||||
set -eux
|
||||
|
||||
# Run nc to listen to port 9090 for the socket audit log
|
||||
nohup nc -l 9090 &>/dev/null </dev/null &
|
||||
nc -l 9090 &>/dev/null &
|
||||
|
||||
# Sleep for a second to make sure nc is up and running
|
||||
sleep 1
|
||||
|
||||
$VAULT_BIN_PATH audit enable file file_path="$LOG_FILE_PATH"
|
||||
$VAULT_BIN_PATH audit enable syslog tag="vault" facility="AUTH"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user