From 4108d9347b66c3f5a98e25a2aaa6c6e5b4406123 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Sat, 24 Oct 2020 23:52:38 +0000 Subject: databases/postgresql-repmgr: Update version 5.1.0=>5.2.0 - Fix service start if pid file doesn't exist [1] PR: 250012 [1] Submitted by: ole@free.de [1] Relnotes: https://repmgr.org/docs/current/release-5.2.0.html --- databases/postgresql-repmgr/files/repmgrd.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'databases/postgresql-repmgr/files') diff --git a/databases/postgresql-repmgr/files/repmgrd.in b/databases/postgresql-repmgr/files/repmgrd.in index 86db6c9c7135..7bc7126ef940 100644 --- a/databases/postgresql-repmgr/files/repmgrd.in +++ b/databases/postgresql-repmgr/files/repmgrd.in @@ -28,7 +28,9 @@ load_rc_config $name command=%%PREFIX%%/bin/${name} pidfile=/var/run/${name}.pid +touch $pidfile +chown $repmgrd_user $pidfile + command_args="-m -d -p $pidfile -f $repmgrd_config" run_rc_command "$1" - -- cgit v1.2.3