This commit is contained in:
2023-10-22 19:28:25 -05:00
parent 4134ea72dd
commit 9dfc6b9fd0
2 changed files with 2 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='2.2.101-10222023'
VERS='2.2.105-10222023'
noheader=' update service dailytemp '

View File

@@ -684,8 +684,7 @@ SERVICE_MNG(){
}
STOP_SERVICE(){
echo "stop: ${1}"
service_pid=`systemctl show --property MainPID --value ${PW_POWERWALL_SERVICES[${1}]}`
/usr/bin/pkill -P $service_pid
ps -ef | grep "powerwall.*service ${1} start" | grep -v "grep" | awk '{print $2}' | xargs kill
}
CHECK_SERVICES(){