aboutsummaryrefslogtreecommitdiffstats
path: root/conf/files/lib/systemd/system/usbcan1.service
diff options
context:
space:
mode:
Diffstat (limited to 'conf/files/lib/systemd/system/usbcan1.service')
-rw-r--r--conf/files/lib/systemd/system/usbcan1.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf/files/lib/systemd/system/usbcan1.service b/conf/files/lib/systemd/system/usbcan1.service
new file mode 100644
index 0000000..a2b4d1a
--- /dev/null
+++ b/conf/files/lib/systemd/system/usbcan1.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=slcan1 starter
+After=remote-fs.target
+After=syslog.target
+
+[Service]
+ExecStart=/usr/bin/slcand -F -o -s6 -t hw -S 3000000 /dev/ttyUSB1
+Restart=on-failure