fix: add missing check script #17

Merged
unkinben merged 1 commits from neoloc/ntp_consul_checkscript into develop 2024-06-02 19:32:38 +10:00

View File

@ -0,0 +1,8 @@
#!/usr/bin/bash
# Check if ntpd or chronyd is running
if pgrep ntpd > /dev/null || pgrep chronyd > /dev/null; then
exit 0
else
exit 2
fi