diff options
Diffstat (limited to 'databases/postgresql-repmgr/files/repmgrd.in')
-rw-r--r-- | databases/postgresql-repmgr/files/repmgrd.in | 4 |
1 files changed, 3 insertions, 1 deletions
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" - |