Create check_pihole-FTL_service_script
This commit is contained in:
parent
b866962609
commit
d28993db41
1 changed files with 10 additions and 0 deletions
10
check_pihole-FTL_service_script
Normal file
10
check_pihole-FTL_service_script
Normal 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
|
Loading…
Reference in a new issue