Update powerwall.sh
This commit is contained in:
@@ -84,9 +84,9 @@ if [ ${action-x} ]; then
|
|||||||
if [ "${2}" == "stop" ]; then
|
if [ "${2}" == "stop" ]; then
|
||||||
service_pid=`systemctl show --property MainPID --value serverroomth_sensor_monitor`
|
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
|
/bin/systemctl stop serverroomth_sensor_monitor
|
||||||
/usr/bin/killall bash
|
#/usr/bin/killall bash
|
||||||
|
|
||||||
else
|
else
|
||||||
CHECKTEMP_SERVICE ${2}
|
CHECKTEMP_SERVICE ${2}
|
||||||
|
|||||||
Reference in New Issue
Block a user