mirror of https://github.com/apache/activemq.git
Merge pull request #739 from jbonofre/AMQ-8425
[AMQ-8425] Get process from any user in bin/activemq script
This commit is contained in:
commit
ba98a39cef
|
@ -482,7 +482,7 @@ checkRunning(){
|
|||
return 2
|
||||
fi
|
||||
local activemq_pid="`cat "$pidfile"`"
|
||||
local RET="`ps -o "pid,args" | grep "^\s*$activemq_pid\s.*java"`"
|
||||
local RET="`ps -eo "pid,args" | grep "^\s*$activemq_pid\s.*java"`"
|
||||
if [ -n "$RET" ];then
|
||||
return 0;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue