mldonkey-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-bugs] [ 101929 ] Bug in mldonkey scripts


From: nobody
Subject: [Mldonkey-bugs] [ 101929 ] Bug in mldonkey scripts
Date: Sun, 09 Mar 2003 19:49:23 -0500


Support Request #101929, was updated on Sun 03/09/03 at 19:49
You can respond by visiting: 
http://savannah.nongnu.org/support/?func=detailsupport&support_id=101929&group_id=1409

Category: None
Status: Open
Priority: 5
Summary: Bug in mldonkey scripts

By: joshua
Date: Sun 03/09/03 at 19:49
Logged In: NO 
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

This has to be a known issue, I am sure, but I thought 
I should mention it just in case:

When running:

/etc/init.d/mldonkey_init restart

...the script first does a "stop" and then a "start".

The stop does the following:

# kill mldonkey if it is already runing

  ps ax |$GREP mldonkey |grep -v $GREP 
  | $AWK '{print "kill " $1}'|sh

In my case the server is already shut down, and this 
grep only matches the script itself, 
the "mldonkey_init". Thus, "mldonkey_init" gets 
terminated and the following "start" command never 
executes.

It should be something like:

# kill mldonkey if it is already running

  ps ax |$GREP mldonkey |grep -v $GREP | grep -v init 
  | $AWK '{print "kill " $1}'|sh

...to make sure the script does not kill itself.

Thanks.

/JSG

----------------------------------------------------------------------
You can respond by visiting: 
http://savannah.nongnu.org/support/?func=detailsupport&support_id=101929&group_id=1409




reply via email to

[Prev in Thread] Current Thread [Next in Thread]