Update powerwall.sh

This commit is contained in:
2022-09-30 23:07:23 -05:00
parent 2ba85c0f9b
commit bcf2fae659

View File

@@ -224,13 +224,9 @@ POWERLOGGER_SERVICE(){
}
RESTART_SERVICES(){
for srvc in "${POWERWALL_SERVICES[@]}"; do
/bin/systemctl stop $srvc
done
STOPALL_SERVICES
sleep 5s
for srvc in "${POWERWALL_SERVICES[@]}"; do
/bin/systemctl start $srvc
done
STARTALL_SERVICES
}
STOPALL_SERVICES(){
for srvc in "${POWERWALL_SERVICES[@]}"; do