snort-docker/healthcheck.sh
2024-08-20 15:19:28 +03:00

6 lines
141 B
Bash

#!/bin/bash
set -e -o pipefail
log "Checking if $(basename "${0}") is healthy ..."
[[ $(pgrep --count --full /usr/bin/supervisord) -gt 0 ]]