Update powerwall.sh
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user