summaryrefslogtreecommitdiffstats
path: root/conf/files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'conf/files/lib')
-rw-r--r--conf/files/lib/systemd/system/usbcan0.service8
-rw-r--r--conf/files/lib/systemd/system/usbcan1.service8
-rw-r--r--conf/files/lib/systemd/system/wheel.service7
3 files changed, 23 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
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
diff --git a/conf/files/lib/systemd/system/wheel.service b/conf/files/lib/systemd/system/wheel.service
new file mode 100644
index 0000000..85c881f
--- /dev/null
+++ b/conf/files/lib/systemd/system/wheel.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=wheel-service starter
+After=syslog.target
+
+[Service]
+ExecStart=/usr/bin/wheel-service
+Restart=on-failure