mirror of https://github.com/apache/activemq.git
[AMQ-8425] Get process from any user in bin/activemq script
This commit is contained in:
parent
ff134fd135
commit
c246e0926c
|
@ -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