summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-05-23 09:03:10 +0100
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-06-25 10:58:01 +0100
commit54b92aea418ddca07b9f699466411e58ddfc52c3 (patch)
tree6ebf1f065a9485f835ec9d105e1dc7a3aa6e9466 /src
parent4d6f9a3f803d1f4a5735867ae3ea124deedbdae1 (diff)
downloadvyos-1x-54b92aea418ddca07b9f699466411e58ddfc52c3.tar.gz
vyos-1x-54b92aea418ddca07b9f699466411e58ddfc52c3.zip
hostsd: T2494: vyos-hostsd is part of systemd vyos.target
The install section determine if the package should be enabled. vyos-hostd should be install if vyos.target is enabled.
Diffstat (limited to 'src')
-rw-r--r--src/systemd/vyos-hostsd.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemd/vyos-hostsd.service b/src/systemd/vyos-hostsd.service
index 560e04052..d10a0a939 100644
--- a/src/systemd/vyos-hostsd.service
+++ b/src/systemd/vyos-hostsd.service
@@ -30,4 +30,4 @@ Group=hostsd
# Note: After= doesn't actually create a dependency,
# it just sets order for the case when both services are to start,
# and without RequiredBy it *does not* set vyos-hostsd to start.
-RequiredBy=cloud-init-local.service vyos-router.service
+WantedBy=vyos.target