Update Battery service

This commit is contained in:
atef 2023-10-02 14:20:01 +02:00
parent 25d3ae9252
commit 3affba7899
1 changed files with 1 additions and 2 deletions

View File

@ -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