Break systemd unit dependency cycle

By default systemd adds an implict dependency on basic.target, which on
some systems (Ubuntu 16) is an example, that depends on network.target
which is after network-pre.target. This results in a dependency cycle
and results in no glean unit's getting run.

Change-Id: I904f69163a77fa5ee26f702628f4be5fcebbed64
This commit is contained in:
Sam Betts 2017-07-20 17:48:51 +01:00
parent 091633b380
commit b54ed69b1c
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
[Unit]
Description=Glean for interface %I
DefaultDependencies=no
Before=network-pre.target
Wants=network-pre.target