aboutsummaryrefslogblamecommitdiffstats
path: root/community/repmgr/repmgrd.initd
blob: ce2a4ae30b9b7745fffaac6f4c6c2fc36314e9cf (plain) (tree)
1
2
3
4
5
6
7



                          

                                                         
                              




                       
#!/sbin/openrc-run

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"

depend() {
	need postgresql
	use net logger
}