diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-09-20 02:30:24 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-09-20 02:30:53 +0200 |
commit | 07624af11c2ad2c6da1901025ac24e48a751c169 (patch) | |
tree | 9041d1c8ba54491c466b52ab0aab916ea5fce356 /community/repmgr/repmgrd.initd | |
parent | 6331c4ac4c98464f6f1c8c9dd27967e4966ffd13 (diff) | |
download | aports-07624af11c2ad2c6da1901025ac24e48a751c169.tar.bz2 aports-07624af11c2ad2c6da1901025ac24e48a751c169.tar.xz |
community/repmgr: move from testing
Diffstat (limited to 'community/repmgr/repmgrd.initd')
-rw-r--r-- | community/repmgr/repmgrd.initd | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/community/repmgr/repmgrd.initd b/community/repmgr/repmgrd.initd new file mode 100644 index 0000000000..46ed23f750 --- /dev/null +++ b/community/repmgr/repmgrd.initd @@ -0,0 +1,12 @@ +#!/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 +} |