diff options
| author | Anton Gerasimov <anton.gerasimov@here.com> | 2018-02-01 17:28:22 +0100 |
|---|---|---|
| committer | Anton Gerasimov <anton.gerasimov@here.com> | 2018-02-01 17:28:22 +0100 |
| commit | 296497365ed9fa11c752d51d1e71b25a054cd5d4 (patch) | |
| tree | d92477a7b4eb371f1f057e13059bd2e692fbf51e /recipes-support/slcand-start/files/slcand@.service | |
| parent | 1ea77e2a98e77956d687cfa6c445518938a5e809 (diff) | |
| parent | e408922dccefca6cfe103be2dce18d7bcc004f1e (diff) | |
| download | meta-updater-296497365ed9fa11c752d51d1e71b25a054cd5d4.tar.gz | |
Merge branch 'rocko'
Diffstat (limited to 'recipes-support/slcand-start/files/slcand@.service')
| -rw-r--r-- | recipes-support/slcand-start/files/slcand@.service | 8 |
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] | ||
| 2 | Description=Serial CAN daemon (can-utils) | ||
| 3 | |||
| 4 | [Service] | ||
| 5 | Type=forking | ||
| 6 | ExecStart=/usr/bin/slcand -o -c -s4 %I can0 | ||
| 7 | ExecStartPost=/bin/sh -c '/bin/sleep 3; /sbin/ip link set can0 up' | ||
| 8 | |||
