Pi-hole_in_High_Availability/check_pihole-FTL_service_script
2022-10-14 23:09:00 +02:00

10 lines
121 B
Bash

#!/bin/sh
STATUS=$(ps ax | grep -v grep | grep pihole-FTL)
if [ "$STATUS" != "" ]
then
exit 0
else
exit 1
fi