summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-05-23 15:02:47 +0100
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-06-25 10:58:01 +0100
commit8cd23ec0449b3755240b9aebe236fdb66937d7d6 (patch)
treea4fdecd371c0c5c82aba583cf4c747a0f9be2003
parent1ecb1d76cd0b149d6381a143adc9907adee47607 (diff)
downloadvyos-1x-8cd23ec0449b3755240b9aebe236fdb66937d7d6.tar.gz
vyos-1x-8cd23ec0449b3755240b9aebe236fdb66937d7d6.zip
http-api: T2494: systemd http-api has no link getty.target
WantedBy is about the service installation and is not related to the boot order, linking to vyos.target instead
-rw-r--r--src/systemd/vyos-http-api.service4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/systemd/vyos-http-api.service b/src/systemd/vyos-http-api.service
index a2920376e..74a97d193 100644
--- a/src/systemd/vyos-http-api.service
+++ b/src/systemd/vyos-http-api.service
@@ -17,6 +17,4 @@ User=root
Group=vyattacfg
[Install]
-# Installing in a earlier target leaves ExecStartPre waiting
-WantedBy=getty.target
-
+WantedBy=vyos.target