diff options
Diffstat (limited to 'recipes-demo-hmi/can-lin/files/hvac-demo.service')
-rw-r--r-- | recipes-demo-hmi/can-lin/files/hvac-demo.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-demo-hmi/can-lin/files/hvac-demo.service b/recipes-demo-hmi/can-lin/files/hvac-demo.service new file mode 100644 index 000000000..7173f9bf4 --- /dev/null +++ b/recipes-demo-hmi/can-lin/files/hvac-demo.service @@ -0,0 +1,12 @@ +[Unit] +Description = HVAC DEMO hardware startup +After=WindowManager.service + +[Service] +Type=simple +ExecStartPre=-/sbin/ip link add dev vcan0 type vcan +ExecStartPre=-/sbin/ifconfig vcan0 up +ExecStart=/usr/bin/openvt -e /usr/bin/OptoLyzerMoccaApp + +[Install] +WantedBy=default.target |