Update powerwall.sh
This commit is contained in:
1 parent
585e8a39d1
commit
4182801d85
1 file changed
+1
@@ -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