Skip to content

Commit

Permalink
Added systemd script from nutechsoftware#9
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Petersen committed Jul 5, 2017
1 parent 5400471 commit cf13302
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions init/systemd/ser2sock.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Unit]
Description=Proxy that allows tcp connections to serial ports
After=syslog.target network.target

[Service]
Type=forking
ExecStart=/usr/local/bin/ser2sock -d
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target

0 comments on commit cf13302

Please sign in to comment.