From 1fed2c5a38fed8bc91bb6b8a08982303eb9c2e82 Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Wed, 6 Feb 2019 17:12:28 +0900 Subject: Change steering to systemd service for ces2019 Change steering to systemd service for ces2019 Change-Id: I319fb56a302f4f980b43a1b90dee1f36820355fb Signed-off-by: zheng_wenlong --- conf/files/lib/systemd/system/usbcan1.service | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 conf/files/lib/systemd/system/usbcan1.service (limited to 'conf/files/lib/systemd/system/usbcan1.service') 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 -- cgit 1.2.3-korg