From: José Bollo Date: Thu, 28 Dec 2017 12:40:05 +0000 (+0100) Subject: unit.conf: Explicit dependency to user-config.service X-Git-Tag: 5.0.0^0 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-main.git;a=commitdiff_plain;h=83ac3d4fd8039d114336e67e8a65a2b701814485 unit.conf: Explicit dependency to user-config.service 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 --- 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]