Op 20081114 om 14:58 schreef Xavier Luthi:
> On Fri, Nov 14, 2008 at 12:23:34PM +0000, Chris Halls wrote:
> > Xavier Luthi:
> > > [ mentors.debian.net NMU announce ]
~ ~
~ > Thanks a lot for making your changes.
~ ~
> > I have some comments on your changes.
> > 
~ 
> > > +process=$(basename $application)
> > 
> > > + sleep 1 # for some startup time and then check
> > > + ps -eo cmd | grep -q ^$process
> > 
> > Can you use ps -u $user instead of ps -e, to only check processes with the 
> > aptproxy user?
> 
> Yes we can.  Do you think it's better?

FWIW:  stappers thinks it is better to test for the application.

After all the aptproxy user could 'www-data' or 'nobody' that is used
also for other process.


Cheers
Geert Stappers




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to