Michael Glaesemann wrote:
> $ cat /var/service/qpsmtpd/run
> #!/bin/bash
> unset PERL_UNICODE
> /usr/local/qpsmtpd/qpsmtpd-forkserver --detach --user www --port 25

I seriously doubt that run script is correct.  Both daemontools and runit are
intended to maintain a *foreground* application and redirect its STDOUT/STDERR
to the log daemon.  The run script should never exit while the qpsmtpd process
is running.

Remove the '--detach' option from the command line and try and start the daemon
again.  I don't think this has anything to do with rebooting the server, but
rather the run script is ending and runit's supervisor is restarting the service
over and over again.  Normally you can spot this by using

        $ ps -ef | fgrep qpsmtpd

and seeing if the PID keeps changing.

Personally, I wouldn't reuse the www user for a completely different
application; UID's are cheap on most server machines (i.e. you don't have a lot
of users floating around).

John

Reply via email to