Update powerwall.sh

This commit is contained in:
2023-12-13 19:04:04 -06:00
parent 3851fb7874
commit f04524a035

View File

@@ -1190,6 +1190,7 @@ SERVICE_MNG(){
# /bin/systemctl ${2} ${PW_POWERWALL_SERVICES[${1}]}
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
}
STOP_SERVICE(){
echo "stop: ${1}"
ps -ef | grep "powerwall.*service ${1} start" | grep -v "grep" | awk '{print $2}' | xargs kill