diff options
author | John Estabrook <jestabro@sentrium.io> | 2019-08-22 12:51:12 -0500 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-08-27 08:16:01 +0200 |
commit | 43b0bbbc9b5b00b3e91dde7e7cffe8dc8497b8ce (patch) | |
tree | 462effa66307d071eba3717583334a4d9ae31044 /src/systemd | |
parent | 21014e20bedb21fd4862120d0e338098284783f7 (diff) | |
download | vyos-1x-43b0bbbc9b5b00b3e91dde7e7cffe8dc8497b8ce.tar.gz vyos-1x-43b0bbbc9b5b00b3e91dde7e7cffe8dc8497b8ce.zip |
T1606: change vyos-hostsd systemd target to avoid boot problems
Diffstat (limited to 'src/systemd')
-rw-r--r-- | src/systemd/vyos-hostsd.service | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/systemd/vyos-hostsd.service b/src/systemd/vyos-hostsd.service index 8ff213d2b..3b0fadb5c 100644 --- a/src/systemd/vyos-hostsd.service +++ b/src/systemd/vyos-hostsd.service @@ -1,7 +1,8 @@ [Unit] Description=VyOS DNS configuration keeper -After=auditd.service systemd-user-sessions.service time-sync.target -Before=vyos-router.service cloud-init.service +After=auditd.service time-sync.target +Before=network-pre.target vyos-router.service +Wants=network-pre.target [Service] ExecStart=/usr/bin/python3 -u /usr/libexec/vyos/services/vyos-hostsd @@ -18,6 +19,6 @@ User=root Group=vyattacfg [Install] -# Installing in a earlier target leaves ExecStartPre waiting -WantedBy=getty.target +# +WantedBy=network.target |