How to I start/stop qmail? Qmail is run under Dan's daemontools, making it a supervised process. You can start, stop, and restart all the supervised processes with a script installed for this purpose:
The services script is smart enough to not try starting the daemons again if they're already running. It is installed by default in /usr/local/etc/rc.d/services.sh so that your supervised daemons run at boot time. You also have a qmail control script which gives you some handy options for interacting with the qmail daemons. Run "qmail" or "qmailctl" from the command line to see the options available. If you get a file not found error, run "rehash" first (for tcsh users).
Last modified on 4/5/05. |
|