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>
[Service]
Type=notify
ExecStart=/usr/bin/cluster_service
+Restart=on-failure
+StartLimitInterval=0
[Install]
WantedBy=basic.target
[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
PermissionsStartOnly=true
IgnoreSIGPIPE=no
Type=notify
+Restart=on-failure
+StartLimitInterval=0
ExecStart=/usr/bin/weston --config /etc/xdg/weston/weston.ini --idle-time=0 --drm-lease=${DRM_LEASE_DEVICE} --log=/var/log/weston.log