Skip to content

Instantly share code, notes, and snippets.

@rmounce
Created December 10, 2018 07:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rmounce/16a8625755d4491cdb96a697742f1535 to your computer and use it in GitHub Desktop.
Save rmounce/16a8625755d4491cdb96a697742f1535 to your computer and use it in GitHub Desktop.
[Unit]
Description=socat-vusb
After=network-online.target
[Service]
User=%i
ExecStart=/usr/bin/socat PTY,raw,echo=0,link=/tmp/ttyVUSB0 tcp:192.168.1.2:5000
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment