From 3affba7899956805955d8af224be1d6ea636a520 Mon Sep 17 00:00:00 2001 From: atef Date: Mon, 2 Oct 2023 14:20:01 +0200 Subject: [PATCH] Update Battery service --- csharp/App/SaliMax/resources/Battery.Service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/csharp/App/SaliMax/resources/Battery.Service b/csharp/App/SaliMax/resources/Battery.Service index 8437b8c59..ebead9a53 100644 --- a/csharp/App/SaliMax/resources/Battery.Service +++ b/csharp/App/SaliMax/resources/Battery.Service @@ -3,11 +3,10 @@ Description=Battery48TL_TCP_Bridge [Service] Type=simple -#ExecStart=socat -v -v TCP-LISTEN:6855,nodelay,fork,reuseaddr GOPEN:/dev/ttyUSB0,raw,b115200 -#ExecStart=socat -x -d -d TCP-LISTEN:6855,fork,max-children=1 GOPEN:/dev/ttyUSB0,rawer,b115200,cs8,parenb=1,parodd=1 ExecStart=socat -x -d -d TCP-LISTEN:6855 GOPEN:/dev/ttyUSB0,rawer,b115200,cs8,parenb=1,parodd=1 Restart=always RestartSec=500ms +StartLimitInterval=0 [Install] WantedBy=multi-user.target