X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fpostgres%2Ffiles%2Fdsa-restart-all-idle-postgres;fp=modules%2Fpostgres%2Ffiles%2Fdsa-restart-all-idle-postgres;h=b0578030355a5537f0119851fb232f76decb82d4;hb=4ef872d1ef3bdf3466b7d2e8883c1beff2a7d914;hp=33f48c2ceec3711828c8c31e8339bec6e4bf2c79;hpb=d8aaeeb7e1fa14706ef7428442addfaeb8bfb9e0;p=mirror%2Fdsa-puppet.git diff --git a/modules/postgres/files/dsa-restart-all-idle-postgres b/modules/postgres/files/dsa-restart-all-idle-postgres index 33f48c2ce..b05780303 100755 --- a/modules/postgres/files/dsa-restart-all-idle-postgres +++ b/modules/postgres/files/dsa-restart-all-idle-postgres @@ -47,7 +47,6 @@ handle_cluster() { pg_lsclusters -h | while read version name port status; do echo "$status" | grep -q --word-regexp online || continue - handle_cluster $version $name $port & + handle_cluster $version $name $port < /dev/null > /dev/null >&2 & + disown done - -disown -a