Re: [vchkpw] ps

2002-10-13 Thread Raboo Treed

Isn't it better to make vpopmail leave a pid file instead then?

Cause when I chroot my qmail it doesn't have ps, nor does it have /proc
- Original Message - 
From: Gabriel Ambuehl [EMAIL PROTECTED]
To: Raboo Treed [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, October 13, 2002 10:36 AM
Subject: Re: [vchkpw] ps


 Hi Raboo Treed,
 you wrote.
 
 RT why does for example  vadddomain and vdeldomain require /bin/ps ???
 
 So that it can HUP qmail?
 
 
 
 
 
 
 
 
 
 Regards,
 Gabriel
 






Re: [vchkpw] ps

2002-10-13 Thread Gabriel Ambuehl

Hi Raboo Treed,
you wrote.

RT why does for example  vadddomain and vdeldomain require /bin/ps ???

So that it can HUP qmail?









Regards,
Gabriel





Re: [vchkpw] ps

2002-10-13 Thread Rick Widmer

At 01:55 PM 10/13/02 +0200, Raboo Treed wrote:
Isn't it better to make vpopmail leave a pid file instead then?
No. ps output is always right, an old pid file could point to the wrong 
process.


Rick





Re: [vchkpw] ps

2002-10-13 Thread Raboo Treed

sence no one is using an unpatched qmail it shuldn't be hard to do
cause how will it do in a chroot enviroment?

- Original Message - 
From: Steve Fulton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, October 13, 2002 10:42 PM
Subject: Re: [vchkpw] ps


 At 13:55 13/10/2002 +0200, Raboo Treed wrote:
 
 Isn't it better to make vpopmail leave a pid file instead then?
 
 Sure, if Vpopmail actually had a daemonized process, but it doesn't.  ps 
 is used to find the pid of whatever Qmail process (qmail-send, qmails-smtpd 
 etc etc) that needs to be restarted in order to reload the 
 configuration.  Every time you add/delete a domain, Qmail must be restarted 
 to notice.
 
 -- Steve