summaryrefslogtreecommitdiffstats
path: root/conf/files/lib/systemd/system/usbcan1.service
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-02-06 17:12:28 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-02-06 17:13:49 +0900
commit1fed2c5a38fed8bc91bb6b8a08982303eb9c2e82 (patch)
tree502b5c63a0570d78863311fbd930f1c96b8a2990 /conf/files/lib/systemd/system/usbcan1.service
parenta98fcb4b99e5a7b14b671e6014ea0b1cc1ea199d (diff)
Change steering to systemd service for ces2019halibut_7.90.0halibut/7.90.07.90.0
Change steering to systemd service for ces2019 Change-Id: I319fb56a302f4f980b43a1b90dee1f36820355fb Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
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