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






                                                 




                       
#!/sbin/openrc-run

command="/usr/bin/repmgrd"
command_background="yes"

pidfile="/run/$RC_SVCNAME.pid"
start_stop_daemon_args="--user ${user:-postgres}"

depend() {
	need postgresql
	use net logger
}