From: Peter Palfrader Date: Thu, 8 Feb 2018 15:09:27 +0000 (+0100) Subject: backgrounding does not really work remotely X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=977eeb56ce1a2445619c6fe0130e7c61fd1c40ed;p=mirror%2Fdsa-puppet.git backgrounding does not really work remotely --- diff --git a/modules/postgres/files/dsa-restart-all-idle-postgres b/modules/postgres/files/dsa-restart-all-idle-postgres index c08a17541..078d50010 100755 --- a/modules/postgres/files/dsa-restart-all-idle-postgres +++ b/modules/postgres/files/dsa-restart-all-idle-postgres @@ -55,6 +55,5 @@ pg_lsclusters -h | while read version name port status; do pid="$(get_pidfile_value "$version" "$name")" grep -q --word-regexp $pid "$tmpfile" || continue - handle_cluster $version $name $port < /dev/null > /dev/null 2>&1 & - disown + handle_cluster $version $name $port done