9 Jan 2008 16:50
Slony startup scripts
Hi people,
Until now I've been starting the slon daemon from the command line,
and now I wan't to move it to a startup script. Looking over things I
see I'm probably going to be best using a slon.conf file now as well.
this leaves me with a few questions.
1) I don't see any parameter in the slon.conf to set where my logs
go. Is this possible or do I just have to pipe the output to a file
like I'm already doing?
2) further to the above, can slony rotate it's logs automatically?
I.e. so I can have a new log file every day?
3) I've had a look athe the supplied script for redhat, although I'm
using Debian so theres going to be a few differences. One of these is
that I've been stopping the slons with "kill <processid>", the redhat
script uses "killproc slon". How can I kill the slon in my script?
read the .pid file?
4)I've jsut discovered the altperl scripts in the docs, and they look
really useful. The docs say to run configure with "--with-perltools"
before compiling and they'll get installed. I didn't do this. can I
install the altperl scripts without a recompile?
Thanks
Glyn
___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
(Continue reading)
RSS Feed