summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-demo/mominavi/mominavi/mominavi.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-ic-container/recipes-demo/mominavi/mominavi/mominavi.service')
-rw-r--r--meta-agl-ic-container/recipes-demo/mominavi/mominavi/mominavi.service7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-agl-ic-container/recipes-demo/mominavi/mominavi/mominavi.service b/meta-agl-ic-container/recipes-demo/mominavi/mominavi/mominavi.service
index b49609e0..1be3ceab 100644
--- a/meta-agl-ic-container/recipes-demo/mominavi/mominavi/mominavi.service
+++ b/meta-agl-ic-container/recipes-demo/mominavi/mominavi/mominavi.service
@@ -1,12 +1,15 @@
[Unit]
Description=mominavi
-After=multi-user.target weston.service network-online.target
-Requires=multi-user.target weston.service network-online.target
+After=multi-user.target momiscreen.service network-online.target
+Requires=multi-user.target momiscreen.service network-online.target
[Service]
Type=simple
EnvironmentFile=/etc/default/mominavi
+EnvironmentFile=-/etc/default/qtwayland-common
ExecStart=/usr/bin/mominavi
+Restart=on-failure
+RestartSec=1s
[Install]
WantedBy=multi-user.target