mirror of https://github.com/jumpserver/jumpserver
7 lines
125 B
Bash
7 lines
125 B
Bash
![]() |
#!/bin/bash
|
||
|
|
||
|
if [[ "$(ps axu | grep 'celery' | grep -v 'grep' | grep -cv 'defunct')" == "5" ]];then
|
||
|
exit 0
|
||
|
else
|
||
|
exit 1
|
||
|
fi
|