From ff05e2a90edf8af5d7b8ad5c69cae2dd40af2c8d Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Fri, 30 Aug 2019 18:40:44 +0200 Subject: T1598: fix vyos-hostsd unit dependencies. --- src/systemd/vyos-hostsd.service | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/systemd/vyos-hostsd.service b/src/systemd/vyos-hostsd.service index 3b0fadb5c..2444f5352 100644 --- a/src/systemd/vyos-hostsd.service +++ b/src/systemd/vyos-hostsd.service @@ -1,8 +1,7 @@ [Unit] Description=VyOS DNS configuration keeper -After=auditd.service time-sync.target -Before=network-pre.target vyos-router.service -Wants=network-pre.target +DefaultDependencies=no +After=systemd-remount-fs.service [Service] ExecStart=/usr/bin/python3 -u /usr/libexec/vyos/services/vyos-hostsd @@ -19,6 +18,4 @@ User=root Group=vyattacfg [Install] -# -WantedBy=network.target - +RequiredBy=cloud-init-local.service vyos-router.service -- cgit v1.2.3