From 375f48133d27e846118f91693fd407aa39ec019d Mon Sep 17 00:00:00 2001 From: Jose Bollo Date: Thu, 27 Sep 2018 12:42:51 +0200 Subject: 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 --- conf/unit/generate-unit-conf/service.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'conf/unit/generate-unit-conf/service.inc') diff --git a/conf/unit/generate-unit-conf/service.inc b/conf/unit/generate-unit-conf/service.inc index 1df4210..5b146ee 100644 --- a/conf/unit/generate-unit-conf/service.inc +++ b/conf/unit/generate-unit-conf/service.inc @@ -34,6 +34,7 @@ X-AFM--workdir=APP_DATA_DIR/{{:id}} Requires=afm-user-session@%i.target After=user@%i.service +After=Network.target # Adds check to smack ConditionSecurity=smack -- cgit 1.2.3-korg