Files
Domoticz/curl.sh
2025-03-06 11:09:58 +01:00

14 lines
234 B
Bash
Executable File

#!/bin/bash
DOMO_IP="localhost" # Domoticz IP Address
DOMO_PORT="81" # Domoticz Port
IDX=330
curl_count=`ps ax |grep curl|wc -l`
if [ "$curl_count" -gt 6 ]; then
killall curl
fi
exit 0