diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-12-28 13:40:05 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-12-28 13:47:41 +0100 |
commit | 83ac3d4fd8039d114336e67e8a65a2b701814485 (patch) | |
tree | 7dd42a64ed64dca33c725352a33dca4c601666e9 | |
parent | 7b1f4872f27288abbeabf4ae13072de613bbcdad (diff) |
unit.conf: Explicit dependency to user-config.serviceeel_5.1.0eel_5.0.3eel_5.0.2eel_5.0.1eel_5.0.0eel/5.1.0eel/5.0.3eel/5.0.2eel/5.0.1eel/5.0.05.1.05.0.35.0.25.0.15.0.0
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 <jose.bollo@iot.bzh>
-rw-r--r-- | conf/afm-unit-debug.conf.in | 2 | ||||
-rw-r--r-- | conf/afm-unit.conf.in | 2 |
2 files changed, 4 insertions, 0 deletions
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] |