Andrew wrote: > Hmmm, seems like I'm eating a lot of crow today. Looking back at the > documentation I was following to use the daemontools package, I > realize that they are for an old version of daemontools. Oops.
I only "knew this" when I realized you "were" right about the sticky thing and yet at the same time I knew there was a reason I had stopped making them sticky. > Now that that's out of the way, about that logging issue. Do you have > two tmda-ofmipd processes running when you use supervise to start it? > Look at my latest post on the tmda-ofmipd patch thread for an > explanation of what I mean. I did for a while but then I fixed my run script and it went away. I can now use svc -u and svc -d correctly. my current run script: [EMAIL PROTECTED]:~# cat /service/tmda-ofmipd/run #!/bin/sh exec su - vpopmail -c '/var/tmda/bin/tmda-ofmipd -l -c /home/vpopmail/domains/everybox.com/ -a .tmda/tofmipd' 2>&1 the -l (it's an L) I added because -d was annoying because it logged the whole fsckin' email (good for debugging, not for logging) and I wanted something that just printed, "conection --> auth success/failed --> done" for each email. so I just made a LOGSTREAM and tossed it in the places I wanted it otherwise you'll have NO LOGGING. (as far as I could tell) > If tmda-ofmipd isn't detaching from it's calling process properly, > could that be why multilog isn't picking up it's output? Redirect file descriptor 2 (stderr) to 1 (stdout) -- multilog expects output on FD1, not 2. (see the end of my line above) > > Eagerly awaiting to be proven wrong yet again, Not wrong, just not right. :-) -davidu _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
