fix: add missing check script

This commit is contained in:
Ben Vincent 2024-06-02 19:32:02 +10:00
parent da3444e49f
commit 76fc6b9fa1

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