summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-08-30 18:40:44 +0200
committerDaniil Baturin <daniil@baturin.org>2019-08-30 18:58:02 +0200
commitff05e2a90edf8af5d7b8ad5c69cae2dd40af2c8d (patch)
treeb96f91d2ed2b51dd95eb7df81f277fc1cb1b6c65 /src
parent24495a18b2ba39cd0c5b024dbe63f3e7df92e69c (diff)
downloadvyos-1x-ff05e2a90edf8af5d7b8ad5c69cae2dd40af2c8d.tar.gz
vyos-1x-ff05e2a90edf8af5d7b8ad5c69cae2dd40af2c8d.zip
T1598: fix vyos-hostsd unit dependencies.
Diffstat (limited to 'src')
-rw-r--r--src/systemd/vyos-hostsd.service9
1 files 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