bugzilla-daemon at main.slony.info bugzilla-daemon at main.slony.info
Tue May 18 10:43:30 PDT 2010
http://www.slony.info/bugzilla/show_bug.cgi?id=125

           Summary: New init script
           Product: Slony-I
           Version: devel
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: low
         Component: rpm
        AssignedTo: slony1-bugs at lists.slony.info
        ReportedBy: jose.arthur at gmail.com
                CC: devrim at gunduz.org
   Estimated Hours: 0.0


Created an attachment (id=41)
 --> (http://www.slony.info/bugzilla/attachment.cgi?id=41)
New init file

I modified the init script to support multiple daemons on the same machine.

For me, it is necessary because I have 2 databases on the same cluster, each
one using a different set, replicating.

How to use:

* copy or link /etc/init.d/slon to /etc/init.d/slon-new (choose your name).
* create a file /etc/sysconfig/slon-new (match above name) with at least this
variables:

SLONCONF=/etc/slon-new.conf
SLONPID=/var/run/slon-new.pid
SLONLOG=/var/log/slony-new

That's it.

I tested it on CentOS.

-- 
Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Slony1-bugs mailing list