diff options
author | José Bollo <jose.bollo@iot.bzh> | 2018-10-23 09:23:15 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2018-10-23 09:23:15 +0000 |
commit | 73f3570165a3c5303ae54ff71aadbf2638fd59c7 (patch) | |
tree | 6d57e3776c8dbab7de09e360943e01f25b3ae515 | |
parent | 19e745ef835f1e3346c238ca0c1cf908d31ac9ec (diff) | |
parent | 375f48133d27e846118f91693fd407aa39ec019d (diff) |
Merge "afm-unit.conf: Enforce starting after network"
-rw-r--r-- | conf/unit/afm-unit-debug.conf.in | 1 | ||||
-rw-r--r-- | conf/unit/afm-unit.conf.in | 1 | ||||
-rw-r--r-- | conf/unit/generate-unit-conf/service.inc | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/conf/unit/afm-unit-debug.conf.in b/conf/unit/afm-unit-debug.conf.in index c812368..7ffeb2f 100644 --- a/conf/unit/afm-unit-debug.conf.in +++ b/conf/unit/afm-unit-debug.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 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 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 |