Nevermind, I fixed it: su -l vpopmail -c "exec /usr/local/tmda/bin/tmda-ofmipd -R imaps" 2>&1
I forgot that 'exec' keeps it from forking. Thanks! ----- Original Message ----- From: "Jesse Guardiani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 13, 2002 12:13 PM Subject: Re: tmda-tofmipd + vpopmail problem OK. Running tmda-ofmipd directly as the vpopmail user works well. However, I'm using the following command to execute tmda-ofmipd from daemontools' supervise: su -l vpopmail -c "python /usr/local/tmda/bin/tmda-ofmipd -R imaps" 2>&1 As I noted above: This works. But when I do a 'svc -d' to shut down tmda-ofmipd, the process has forked, and thus continues executing. This isn't good. Now, I believe that if I were to use sudo, this wouldn't happen. However, does anyone know how to keep the tmda-ofmipd process from forking WITH su? I don't want to complicate things by requiring that sudo be installed if I don't have to. Thanks! _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
