Paul J Stevens wrote: > Stephen Loeckle wrote: > >> The init script has not worked for me on deb etch using the packages >> when shutting down or restarting services in versions 2.2.3 and 2.2.4. >> After 2.2.4 I modified the script with killalls without the 9 to do a >> reasonably safe shutdown of the services. >> > > Ok, I'm adding this to the scripts. > > One other very secure way to deal with this is running the dbmail > daemons in inetd mode. > > I've had problems with it not creating the PID directory if it didn't already exist in ubuntu.
I can't rember it exactly but in my init.d script i added a section that creates the $piddir directory if it dosen't exist. This is in 2.2.2. Otherwise it puts the pid files in /var/run and tries to shutdown whats in /var/run/dbmail (at which point it has a problem)
_______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
