summaryrefslogtreecommitdiffstats
path: root/recipes-support/slcand-start/files/slcand@.service
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2018-01-17 10:22:50 +0100
committerPatrick Vacek <patrickvacek@gmail.com>2018-01-17 10:22:50 +0100
commite5228ae1d05280f2810c90bef16a9046960aa9ca (patch)
tree4301167ac818124a7d38e11aeb362b8345a812c8 /recipes-support/slcand-start/files/slcand@.service
parent623c51d713f359210874dd50c1394bcc901228ec (diff)
parent0afff0c944763238026283fbb409d038705c6b13 (diff)
downloadmeta-updater-e5228ae1d05280f2810c90bef16a9046960aa9ca.tar.gz
Merge branch 'pyro' into bugfix/update-rocko
Bring over fixes from the last couple months from pyro in rocko.
Diffstat (limited to 'recipes-support/slcand-start/files/slcand@.service')
-rw-r--r--recipes-support/slcand-start/files/slcand@.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-support/slcand-start/files/slcand@.service b/recipes-support/slcand-start/files/slcand@.service
new file mode 100644
index 0000000..c539568
--- /dev/null
+++ b/recipes-support/slcand-start/files/slcand@.service
@@ -0,0 +1,8 @@
1[Unit]
2Description=Serial CAN daemon (can-utils)
3
4[Service]
5Type=forking
6ExecStart=/usr/bin/slcand -o -c -s4 %I can0
7ExecStartPost=/bin/sh -c '/bin/sleep 3; /sbin/ip link set can0 up'
8