diff --git a/check_pihole-FTL_service_script b/check_pihole-FTL_service_script new file mode 100644 index 0000000..24ffb6d --- /dev/null +++ b/check_pihole-FTL_service_script @@ -0,0 +1,10 @@ +#!/bin/sh + +STATUS=$(ps ax | grep -v grep | grep pihole-FTL) + +if [ "$STATUS" != "" ] +then + exit 0 +else + exit 1 +fi