summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-demo
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2024-01-01 00:44:40 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-01-29 12:01:29 +0000
commitae7e524f077e249ba2c04c7f12c3a317081925ff (patch)
tree45bb3177ecb4b08d7d361039785d93ac2dfe4110 /meta-agl-ic-container/recipes-demo
parente4ca3fb47b1fb21f4bcd39a5ee798a227a1fdd73 (diff)
Sync rebooting cluster-service and cluster-refgui
The cluster-refgui shall re-connect in case of cluster-service rebooting. This method should support to realize robustness system. This patch add support sync rebootig feature. Bug-AGL: SPEC-5040 Change-Id: Iadd1c254d4b8e32be15419b3526dc581333a5456 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
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