Stuart Bishop stuart at stuartbishop.net
Sat May 9 04:05:09 PDT 2009
On Thu, May 7, 2009 at 11:03 PM, Bruce Rindahl <rindahl at lrcwe.com> wrote:
> I have slony running fine between several machines including Windows and
> Debian/Ubuntu.  The configuration is done via pgAdmin - not any script
> files.  On windows everything is straightforward but in Debian/Ubuntu I have
> to run the following command:
> slon my_cluster_name "host=localhost dbname=myDBNAME user=slony"
> When I do this (and redirect to /dev/null and in background) slony runs
> fine.  How do I put this information into a configuration file so the slony
> daemon reads this automatically on startup?

If you are using the Debian or Ubuntu packages, the startup script it
/etc/init.d/slony1 and it looks in /etc/slony1 for the config files.
Create a directory in there for each node, containing its slon.conf
file.

-- 
Stuart Bishop <stuart at stuartbishop.net>
http://www.stuartbishop.net/


More information about the Slony1-general mailing list