Innovenergy_trunk/csharp/App/SaliMax/resources/Battery.Service

13 lines
252 B
Plaintext

[Unit]
Description=Battery48TL_TCP_Bridge
[Service]
Type=simple
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