Summary: | dev-db/slony1 - have init.d/conf.d support more than one cluster | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark Keisler <grimm26> |
Component: | Current packages | Assignee: | PgSQL Bugs <pgsql-bugs> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | CC: | barzog |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
new slony1 init.d script and conf.d example
conf file init.d file |
Description
Mark Keisler
2008-04-15 21:28:50 UTC
Created attachment 150179 [details]
new slony1 init.d script and conf.d example
Here is a replacement version of the slony1 init script with a conf.d example. One change is using the slon_start and slon_kill scripts that handle watchdog processes as well to keep slon running. This necessitates setting up configuration files by the admin that are used by the perl admin scripts for slony that will contain variables needed for slon_start like the cluster name, dbhost, etc. Do you think this is too big of an assumption? perhaps a useflag for this style init? Or maybe just some docs?
Created attachment 341880 [details]
conf file
Created attachment 341882 [details]
init.d file
Here's my version. Based on start-stop-daemon and compatible with 2.x.x slony1. Available at my overlay alongside with slony 2.1.3 at https://code.google.com/p/barzog-gentoo-overlay/ |