From 4e31355650f9263ab1d6f318719efa637cd9e87a Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Fri, 18 Mar 2022 13:45:39 +0100
Subject: [PATCH] re-apply Martins fix for pgsql

---
 plugins/localdump/pgsql.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/localdump/pgsql.sh b/plugins/localdump/pgsql.sh
index 141ba22..70877e1 100755
--- a/plugins/localdump/pgsql.sh
+++ b/plugins/localdump/pgsql.sh
@@ -35,7 +35,7 @@ fi
 
 function checkRequirements(){
   j_requireBinary "pg_dump"   1
-  j_requireProcess "postgres" 1
+  j_requireProcess "postgres|postmaster" 1
 
   # set flag and reset return code
   test $rc -eq 0 && SERVICEFOUND=1
-- 
GitLab