update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
VERS='2.2.101-10222023'
|
||||
VERS='2.2.105-10222023'
|
||||
|
||||
noheader=' update service dailytemp '
|
||||
|
||||
|
||||
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user