Pi-hole_in_High_Availability/check_pihole-FTL_service_script

11 lines
121 B
Text
Raw Normal View History

2022-10-14 21:09:00 +00:00
#!/bin/sh
STATUS=$(ps ax | grep -v grep | grep pihole-FTL)
if [ "$STATUS" != "" ]
then
exit 0
else
exit 1
fi