diff --git a/powerwall.sh b/powerwall.sh index 79b688f3..c8801b1a 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -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 }