Subject: Re: Problems with stop in rc script
To: None <firstname.lastname@example.org>
From: Ron Roskens <email@example.com>
Date: 05/18/2003 21:29:17
I noticed the same thing with amavisd-new 20030314-p2. I modified amavisd
to not change $0 at line 5894.
On Sun, 18 May 2003 firstname.lastname@example.org wrote:
> Started running amavisd on my systems to help filter out spam. Amavisd
> puts its pid in /var/amavis/amavisd.pid. That can be specified easily
> in the rc script. The problem I am running into is that the ps
> perl: amavisd (master)
> Now the way the stop command works is it picks up the pid from the pidfile
> and then does a
> ps -o 'pid, command' -p <pid in pidfile> | while read _npid _arg0 _argv
> and checks the command name against what is in $_argo which in this case
> is perl and thus fails.
> Any suggestions for a workaround?