Update powerwall.sh

This commit is contained in:
2022-09-03 13:43:33 -05:00
parent 9bd23fd975
commit b65894361a

View File

@@ -83,8 +83,11 @@ if [ ${action-x} ]; then
checktemp_service)
if [ "${2}" == "stop" ]; then
service_pid=`systemctl show --property MainPID --value serverroomth_sensor_monitor`
/bin/kill $service_pid
#/bin/kill $service_pid
/bin/systemctl stop serverroomth_sensor_monitor
/usr/bin/killall bash
else
CHECKTEMP_SERVICE ${2}
fi