From: Peter Palfrader Date: Thu, 8 Feb 2018 12:41:55 +0000 (+0100) Subject: in practice make the sleep longer X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=c7895b910ce3e33047984af50d4106653b975327;p=mirror%2Fdsa-puppet.git in practice make the sleep longer --- diff --git a/modules/postgres/files/dsa-restart-all-idle-postgres b/modules/postgres/files/dsa-restart-all-idle-postgres index 2f7ee9025..38fe23e39 100755 --- a/modules/postgres/files/dsa-restart-all-idle-postgres +++ b/modules/postgres/files/dsa-restart-all-idle-postgres @@ -40,7 +40,7 @@ handle_cluster() { pid="$(get_pidfile_value "$version" "$name")" while chk_net "$port" && [ "$pid" = "$(get_pidfile_value "$version" "$name")" ]; do - sleep 10 + sleep 60 done systemctl restart "postgresql@${version}-${name}.service" }