Jeff Ross <[EMAIL PROTECTED]> writes:

> One other caveat...although tmda-ofmipd seems to run okay under
> daemontools, sending a svc -d to /service/tmda-ofmipd will not cause
> the daemon to go down.  Instead, svstat /service/tmda-ofmipd will
> report that the service is up but wants down, and that's where it
> stays.  svc -t seems also not to work as it should.  In fact, in my
> limited testing so far, I found the easiest way to have tmda-ofmipd
> run  with different flags (i.e., -d or not) was to reboot.

daemontools is an extremely weird piece of software.  I stopped using
it years ago when I finally got fed up with its unpredictable
behavior.  Even with djb's own tools like qmail, svc -t/-d would
frequently not work correctly (this was on FreeBSD).

Anyway, my recommendation is to only run tmda-ofmipd under daemontools
if absolutely necessary.  On my Debian system, a simple 30-line shell
script in /etc/init.d/ with start/stop/restart cases manages
tmda-ofmipd flawlessly, plus it's much easier to understand and debug.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to