On 07/27/2014 04:26 AM, Finn Buhelt wrote:
BTW: wasn't  daemontools the choice for qmail back then, in order to
have automatic restarts if a process/daemon fell out ?

Yeah, that's my understanding. I don't think that's much of a concern these days though. If it becomes a problem, a simple cron job can take care of that. Here's what I had set up for dovecot when I had a VM (under VMware Server2) that had a clock which drifted:

crontab:
# shubes 04/06/09 - restart dovecot if it stopped
*/1 * * * * root /usr/local/bin/monitor_dovecot

monitor_dovecot:
#!/bin/sh
# check if dovecot's running, and start it if it's not
# shubes - 20090206 - created

service dovecot status >/dev/null 2>&1 || \
service dovecot start  >/dev/null 2>&1


Thanks for reporting your success, Finn. I like to see that. :)

--
-Eric 'shubes'


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to