1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-21 07:29:37 +01:00
verdaccio/abappm/healthcheck.sh
2024-07-16 19:19:00 -04:00

12 lines
169 B
Bash

#!/bin/bash
if pgrep -f "/usr/bin/dumb-init" > /dev/null; then
if pgrep -f "apm" > /dev/null; then
exit 0
else
exit 1
fi
else
exit 1
fi