[Bug 1177398] Re: init-script status method doesn't handle instances correctly

2013-05-13 Thread Bjunity
Sry, it's on precise. It is the status - function in the init script, not the stop - function. # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 12.04.2 LTS Release:12.04 Codename: precise # dpkg -l | grep memcached ii memcached

[Bug 1177398] Re: init-script status method doesn't handle instances correctly

2013-05-13 Thread Bjunity
Sry, it's on precise. It is the status - function in the init script, not the stop - function. # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 12.04.2 LTS Release:12.04 Codename: precise # dpkg -l | grep memcached ii memcached

[Bug 1177398] [NEW] init-script status method doesn't handle instances correctly

2013-05-07 Thread Bjunity
Public bug reported: Line in /etc/init.d/memcached: status_of_proc -p $PIDFILE $DAEMON $NAME exit 0 || exit $? If you have more than 1 Instance the script exit after the first instance found, so the other instances aren't checked. The quick dirty fix: er_or=0

[Bug 1177398] [NEW] init-script status method doesn't handle instances correctly

2013-05-07 Thread Bjunity
Public bug reported: Line in /etc/init.d/memcached: status_of_proc -p $PIDFILE $DAEMON $NAME exit 0 || exit $? If you have more than 1 Instance the script exit after the first instance found, so the other instances aren't checked. The quick dirty fix: er_or=0