Create check_pihole-FTL_service_script

This commit is contained in:
kodlz 2022-10-14 23:09:00 +02:00 committed by GitHub
parent b866962609
commit d28993db41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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