diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-10 11:21:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 11:21:13 +0100 |
commit | 7a03e2b0ab1d66b9f73b02c5333bff38fb35e258 (patch) | |
tree | ac710f5ee08eb5f05be8561feb51c86547d37d44 /data/templates/https/vyos-http-api.service.j2 | |
parent | a9ed12de93425a9e9637a61e5b7f17ae01575242 (diff) | |
parent | 1f236a3ca73164a6f861a99113bf844ec9b99b06 (diff) | |
download | vyos-1x-7a03e2b0ab1d66b9f73b02c5333bff38fb35e258.tar.gz vyos-1x-7a03e2b0ab1d66b9f73b02c5333bff38fb35e258.zip |
Merge pull request #2781 from vyos/mergify/bp/sagitta/pr-2773
https: T5902: remove virtual-host configuration (backport #2773)
Diffstat (limited to 'data/templates/https/vyos-http-api.service.j2')
-rw-r--r-- | data/templates/https/vyos-http-api.service.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/https/vyos-http-api.service.j2 b/data/templates/https/vyos-http-api.service.j2 index f620b3248..aa4da7666 100644 --- a/data/templates/https/vyos-http-api.service.j2 +++ b/data/templates/https/vyos-http-api.service.j2 @@ -3,6 +3,7 @@ Description=VyOS HTTP API service After=vyos-router.service Requires=vyos-router.service +ConditionPathExists={{ api_config_state }} [Service] ExecStart={{ vrf_command }}/usr/libexec/vyos/services/vyos-http-api-server @@ -20,4 +21,3 @@ Group=vyattacfg [Install] WantedBy=vyos.target - |