From 977eeb56ce1a2445619c6fe0130e7c61fd1c40ed Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 8 Feb 2018 16:09:27 +0100 Subject: [PATCH] backgrounding does not really work remotely --- modules/postgres/files/dsa-restart-all-idle-postgres | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.20.1