On Jul 18, 2006, at 2:45 PM, Bill Moran wrote:
I'm looking to rewrite the slon.sh script provided with the FreeBSD port in order to make it behave more like the Apache rc script does. i.e. you'd have something in rc.conf like this: slon_enable='YES' slon_profiles="db1 db2 db3" slon_db1_configfile="/usr/local/etc/slon/db1.conf" slon_db2_configfile="/usr/local/etc/slon/db2.conf" slon_db3_configfile="/usr/local/etc/slon/db3.conf" ... and the startup script would automagically do the right thing. Before I charge forward, I wanted to get any feedback/suggestions on this approach. Anyone see any problems with doing this, or have suggestions on how to do it better than the Apache script does?
seems reasonable to me. you could also model it after the 'jail' startup script which does something similar to start up multiple jails.
whatever you come up with i'll put into the port as long as it is back-compatible with the existing one.
personally, I use daemontools to monitor and manage all my slon daemons. i do not use the rc script.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Slony1-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/slony1-general
