c7baae7a8c2972c291626678e19d48022eda783f
[AGL/meta-agl-demo.git] / recipes-demo-hmi / navigation / mapviewer / mapviewer.service
1 [Unit]
2 Conflicts=getty@tty1.service
3 After=weston.service HomeScreen.service
4
5 # map viewr is a child application which can work with navigation.
6 # This app requires mapdata. It has to be stored at /var/mapdata/navi_data_UK .
7 # currently the position to be shown is 384x368 surface on screen 1 for CES2017 cluster demo.
8
9 [Service]
10 ExecStartPre=/bin/sleep 5
11 ExecStart=/usr/bin/mapview
12 ExecStartPost=/usr/bin/LayerManagerControl create layer 11001 1920 1080
13 ExecStartPost=/usr/bin/LayerManagerControl set layer 11001 visibility 1
14 ExecStartPost=/usr/bin/LayerManagerControl set screen 1 render order 11001
15 ExecStartPost=/usr/AGL/mapviewer/mapviewer-settings.sh
16
17 ExecStop=/usr/bin/killall -s KILL mapview
18 Type=simple
19 Restart=always
20
21 [Install]
22 WantedBy=default.target