diff options
Diffstat (limited to 'recipes-demo-hmi/navigation/mapviewer-demo/weston-mapviewer-demo.service')
-rw-r--r-- | recipes-demo-hmi/navigation/mapviewer-demo/weston-mapviewer-demo.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-demo-hmi/navigation/mapviewer-demo/weston-mapviewer-demo.service b/recipes-demo-hmi/navigation/mapviewer-demo/weston-mapviewer-demo.service new file mode 100644 index 000000000..65275cc03 --- /dev/null +++ b/recipes-demo-hmi/navigation/mapviewer-demo/weston-mapviewer-demo.service @@ -0,0 +1,16 @@ +[Unit] +Description=Weston reference Wayland compositor +Conflicts=getty@tty1.service +After=dbus.service rc.pvr.service + +[Service] +ExecStartPre=/sbin/ifconfig eth0 192.168.20.93 +ExecStartPre=/bin/rm -rf /home/root/.cache/gstreamer-1.0 +#ExecStartPre=/bin/sleep 10 +ExecStart=/usr/bin/weston-launch -u root -- --idle-time=4294967 --gst-record --config=weston-mapviewer-demo.ini +ExecStop=/usr/bin/killall -s KILL weston +Type=simple + +[Install] +WantedBy=multi-user.target +Alias=weston.service |