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