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