]> git.openstreetmap.org Git - chef.git/commitdiff
Disconnect stdin for wal-e to avoid log noise
authorTom Hughes <tom@compton.nu>
Sun, 1 Nov 2020 12:27:34 +0000 (12:27 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 1 Nov 2020 12:27:34 +0000 (12:27 +0000)
cookbooks/db/templates/default/wal-e.erb

index 93f3144983c575a5e405a2a4b89f75215d6a9cc2..b4c13bd1d9f83c941e4bb31b1dc7c5215aaa91df 100644 (file)
@@ -7,4 +7,4 @@ export AWS_ACCESS_KEY_ID="AKIAIQX2LTDOBIW4CZUQ"
 export AWS_SECRET_ACCESS_KEY="<%= @s3_key %>"
 export AWS_REGION="eu-west-2"
 
-exec /usr/local/bin/wal-e "$@"
+exec /usr/local/bin/wal-e "$@" < /dev/null