summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-05-23 09:05:43 +0100
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-06-25 10:58:01 +0100
commit1ecb1d76cd0b149d6381a143adc9907adee47607 (patch)
tree0687a0eab886be7dd79b7f236b6f5a43089c9dca /src
parent54b92aea418ddca07b9f699466411e58ddfc52c3 (diff)
downloadvyos-1x-1ecb1d76cd0b149d6381a143adc9907adee47607.tar.gz
vyos-1x-1ecb1d76cd0b149d6381a143adc9907adee47607.zip
http-api: T2494: remove "barrier" PreExec
The PreExec is making sure that the vyos-config-status file exists and blocks until it does. This file is created on boot completion and I can see no reason why the http service has to wait for the end of boot to start. Any barrier to start should be done with systemd itself.
Diffstat (limited to 'src')
-rw-r--r--src/systemd/vyos-http-api.service1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/systemd/vyos-http-api.service b/src/systemd/vyos-http-api.service
index e336ed18b..a2920376e 100644
--- a/src/systemd/vyos-http-api.service
+++ b/src/systemd/vyos-http-api.service
@@ -4,7 +4,6 @@ After=auditd.service systemd-user-sessions.service time-sync.target vyos-router.
Requires=vyos-router.service
[Service]
-ExecStartPre=/usr/libexec/vyos/init/vyos-config
ExecStart=/usr/bin/python3 -u /usr/libexec/vyos/services/vyos-http-api-server
Type=notify
KillMode=process