Update powerwall.sh

This commit is contained in:
2022-09-12 21:56:40 -05:00
parent 585e8a39d1
commit 4182801d85

View File

@@ -224,6 +224,7 @@ STOPALL_SERVICES(){
}
STOP_SERVICE(){
echo "stop: ${1}"
service_pid=`systemctl show --property MainPID --value ${POWERWALL_SERVICES[${1}]}`
/usr/bin/pkill -P $service_pid
}