0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/abappm/healthcheck.sh
2024-07-16 19:19:00 -04:00

11 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