aboutsummaryrefslogtreecommitdiffstats
path: root/conf/unit/afm-unit.conf.in
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2018-09-27 12:42:51 +0200
committerJose Bollo <jose.bollo@iot.bzh>2018-10-19 14:13:02 +0200
commit375f48133d27e846118f91693fd407aa39ec019d (patch)
tree6d57e3776c8dbab7de09e360943e01f25b3ae515 /conf/unit/afm-unit.conf.in
parent0e0ae553d3fe9e541eefa8bd61a580c721fe0e49 (diff)
afm-unit.conf: Enforce starting after network
This solves issues encountered when starting remote services. It delays all services until completion of network initialisation. Delaying every services is not selective. Further optimisation may improve that issue. Bug-AGL: SPEC-1650 Change-Id: I5742a4cd514c86c724a8e7a86c7e0a5dde6a8c67 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/unit/afm-unit.conf.in')
-rw-r--r--conf/unit/afm-unit.conf.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/unit/afm-unit.conf.in b/conf/unit/afm-unit.conf.in
index f5e25ea..3569790 100644
--- a/conf/unit/afm-unit.conf.in
+++ b/conf/unit/afm-unit.conf.in
@@ -107,6 +107,7 @@ X-AFM--workdir=/home/%i/app-data/{{:id}}
%nl
Requires=afm-user-session@%i.target
After=user@%i.service
+After=Network.target
# Adds check to smack
ConditionSecurity=smack
%nl