summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-demo
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-ic-container/recipes-demo')
-rw-r--r--meta-agl-ic-container/recipes-demo/cluster-refgui/cluster-refgui/cluster.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-agl-ic-container/recipes-demo/cluster-refgui/cluster-refgui/cluster.service b/meta-agl-ic-container/recipes-demo/cluster-refgui/cluster-refgui/cluster.service
index a82c4127..83e957e5 100644
--- a/meta-agl-ic-container/recipes-demo/cluster-refgui/cluster-refgui/cluster.service
+++ b/meta-agl-ic-container/recipes-demo/cluster-refgui/cluster-refgui/cluster.service
@@ -1,11 +1,13 @@
[Unit]
Description=AGL Cluster Reference GUI
After=multi-user.target weston.service
-Requires=multi-user.target weston.service
+PartOf=cluster-service.service weston.service
[Service]
EnvironmentFile=/etc/default/cluster
ExecStart=/opt/apps/cluster
+Restart=on-failure
+StartLimitInterval=0
[Install]
WantedBy=multi-user.target