On Tue, Aug 08, 2000 at 10:17:24AM -0400, Todd Finney wrote:
! If you're changing the location of the pid - be it from nothing to
! /var/run/qmail.pid or from nothing to /sbin/pidof qmail-send, you need
! to update the qmail-rcfile to reflect this change.

No. Bear in mind that Ellen mentioned being able to control the daemon
via the ``start'', ``stop'', ``restart'', ``status'', &c commands.
``stop'' uses the killproc function; ``status'' uses status. Both of
those functions are built in to /etc/rc.d/init.d/functions, and check
for /var/run/qmail.pid if pidof fails.

So, our two choices are:

1. write pid to /var/run/qmail.pid, as suggested in my previous posts.
2. change /etc/rc.d/init.d/qmail, to say ``killproc qmail-send'' and
   ``status qmail-send''.

The first solution will not involve changing /etc/rc.d/init.d/qmail.
I'm trying to go for something that doesn't depend on knowing that
the main qmail process is called qmail-send, in case Dan gets a change
of mind for version 2.0.

For Ellen's purposes however, either will work, so I don't really
intend to debate this further, not on-list at least.

<offtopic>
For the record, I think I'm doing pretty well at avoiding the use of
gender-specific pronouns. :-) I hate it when people try to apply one
to me (because with a name like Chris, you'd have a fair probability
of guessing incorrectly), so I don't do it for others either---unless
they say it's all right.
</offtopic>

        ---Chris K.
-- 
 Chris, the Young One |_ but what's a dropped message between friends? 
  Auckland, New Zealand |_ this is UDP, not TCP after all ;) ---John H. 
http://cloud9.hedgee.com/ |_ Robinson, IV  

Reply via email to