workaround for root not having /awips2/python in LD_LIB...
This commit is contained in:
parent
3eaeccf381
commit
251fa0fd70
1 changed files with 5 additions and 1 deletions
|
@ -395,7 +395,11 @@ edex_purge_reset() {
|
||||||
# Show Qpid data ingest queues
|
# Show Qpid data ingest queues
|
||||||
#
|
#
|
||||||
edex_qpid() {
|
edex_qpid() {
|
||||||
|
if [[ ${USER} = "root" ]]; then
|
||||||
|
su - awips -c "qpid-stat -q -S msgIn"
|
||||||
|
else
|
||||||
/awips2/python/bin/qpid-stat -q -S msgIn
|
/awips2/python/bin/qpid-stat -q -S msgIn
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Reference in a new issue