aports/community/repmgr/repmgrd.initd

13 lines
258 B
Plaintext

#!/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
}