summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-12-28 13:40:05 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-12-28 13:47:41 +0100
commit83ac3d4fd8039d114336e67e8a65a2b701814485 (patch)
tree7dd42a64ed64dca33c725352a33dca4c601666e9
parent7b1f4872f27288abbeabf4ae13072de613bbcdad (diff)
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.in2
-rw-r--r--conf/afm-unit.conf.in2
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]