aboutsummaryrefslogtreecommitdiffstats
path: root/community/repmgr/repmgrd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/repmgr/repmgrd.initd')
-rw-r--r--community/repmgr/repmgrd.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/repmgr/repmgrd.initd b/community/repmgr/repmgrd.initd
index 46ed23f750..ce2a4ae30b 100644
--- a/community/repmgr/repmgrd.initd
+++ b/community/repmgr/repmgrd.initd
@@ -2,9 +2,9 @@
command="/usr/bin/repmgrd"
command_background="yes"
-
+# "user" variable is here for backward compatibility only
+command_user="${command_user:-${user:-postgres}}"
pidfile="/run/$RC_SVCNAME.pid"
-start_stop_daemon_args="--user ${user:-postgres}"
depend() {
need postgresql