diff --git a/soscmd-stats b/soscmd-stats index 781cb72..a17dcd0 100755 --- a/soscmd-stats +++ b/soscmd-stats @@ -85,7 +85,7 @@ export "SERVICES_WINGS=$(ps -eo args|grep wings|grep '/usr/local/bin'&>/dev/null if [ "$VERBOSE" ]; then echo -e "${LINEREP}${COLOR_PURPLE}:: Computing running services: pteroq${LINESPACE}"; fi export "SERVICES_PTEROQ=$(ps -eo args|grep 'artisan queue:work'|grep php&>/dev/null;echo $?)" if [ "$VERBOSE" ]; then echo -e "${LINEREP}${COLOR_PURPLE}:: Computing running services: Uptime Kuma{LINESPACE}"; fi -export "SERVICES_UPTIMEKUMA=$(docker ps|grep uptime-kuma&>/dev/null;echo $?)" +export "SERVICES_UPTIMEKUMA=$(ps -eo args|grep 'node'|grep '/opt/uptimekuma/server/server.js'&>/dev/null;echo $?)" if [ "$VERBOSE" ]; then echo -e "${LINEREP}${COLOR_PURPLE}:: Computing running services: Adminer${LINESPACE}"; fi export "SERVICES_ADMINER=$(docker ps|grep adminer&>/dev/null;echo $?)" if [ "$VERBOSE" ]; then echo -e "${LINEREP}${COLOR_PURPLE}:: Computing running services: PostgreSQL${LINESPACE}"; fi