Hello all,
I checked the archives and there was a rumbling not long
back about an rc.d script - did anyone get any further
with this?
I hacked up a VERY basic one using rc_subr but of course
it's hindered by the simple fact that spfd doesn't record
it's PID anywhere.
It basically means you can't tell if the daemon is already
running, which is fairly bad with the Exim ACL since it
defers all mail when it can't connect to the spfd socket.
The solution I expect would be the same as with Clamd or
something similar - run a cron job every now and again
to check if spfd is still running under the pid it last
recorded, and restart it if necessary.
So two questions, then! Anyone up for adding pidfile
support for spfd, and when someone does that, does anyone
want to write a script to check if it's still running
so we can run that cron job? (rc_subr has this built-in
as long as there is a pidfile). I must admit I'm not
talented enough to do either, Perl is something I
gave up on a long time ago ;)
Thanks,
--
Matt Sealey <matt@genesi.co.uk>
Genesi, Manager, Developer Relations
-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com
I checked the archives and there was a rumbling not long
back about an rc.d script - did anyone get any further
with this?
I hacked up a VERY basic one using rc_subr but of course
it's hindered by the simple fact that spfd doesn't record
it's PID anywhere.
It basically means you can't tell if the daemon is already
running, which is fairly bad with the Exim ACL since it
defers all mail when it can't connect to the spfd socket.
The solution I expect would be the same as with Clamd or
something similar - run a cron job every now and again
to check if spfd is still running under the pid it last
recorded, and restart it if necessary.
So two questions, then! Anyone up for adding pidfile
support for spfd, and when someone does that, does anyone
want to write a script to check if it's still running
so we can run that cron job? (rc_subr has this built-in
as long as there is a pidfile). I must admit I'm not
talented enough to do either, Perl is something I
gave up on a long time ago ;)
Thanks,
--
Matt Sealey <matt@genesi.co.uk>
Genesi, Manager, Developer Relations
-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com