Files
bitnet-s9pk/scripts/health_check.sh
2026-05-12 22:31:18 +00:00

11 lines
155 B
Bash
Executable File

#!/bin/bash
set -e
# Check if SSH daemon is running
if pgrep -x sshd > /dev/null; then
exit 0
else
echo "SSH daemon is not running"
exit 1
fi