From 83ac3d4fd8039d114336e67e8a65a2b701814485 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Thu, 28 Dec 2017 13:40:05 +0100 Subject: unit.conf: Explicit dependency to user-config.service MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some times, some services (like weston) are starting too much slowly, implying errors on applications that need it (like homescreen). To avoid the issue, an explicit dependency to user-config.service is added. That service, user-config.service, has an implicit dependency to user-config.path that waits weston to be started. Bug-AGL: SPEC-1199 Change-Id: I7a5b9fd2d5fbd0d6ca778d78db5147a849ddcd6e Signed-off-by: José Bollo --- conf/afm-unit-debug.conf.in | 2 ++ conf/afm-unit.conf.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/conf/afm-unit-debug.conf.in b/conf/afm-unit-debug.conf.in index 04639a3..70cdc47 100644 --- a/conf/afm-unit-debug.conf.in +++ b/conf/afm-unit-debug.conf.in @@ -113,6 +113,8 @@ BindsTo=afm-api-ws-{{name}}.socket After=afm-api-ws-{{name}}.socket {{/value=auto|ws}} {{/required-api}} +Requires=user-config.service +After=user-config.service %nl [Service] diff --git a/conf/afm-unit.conf.in b/conf/afm-unit.conf.in index 237f8ce..3190b0e 100644 --- a/conf/afm-unit.conf.in +++ b/conf/afm-unit.conf.in @@ -113,6 +113,8 @@ BindsTo=afm-api-ws-{{name}}.socket After=afm-api-ws-{{name}}.socket {{/value=auto|ws}} {{/required-api}} +Requires=user-config.service +After=user-config.service %nl [Service] -- cgit 1.2.3-korg