Update powerwall.sh

This commit is contained in:
2022-09-03 13:50:59 -05:00
parent b65894361a
commit de368f45b5

View File

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