diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-11 06:01:43 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-11 06:01:43 +0200 |
commit | 679415a515d126e901703ea1288f7976ee675ab3 (patch) | |
tree | ccdd11a35bc276c22e7d9e2a056b62a3c98be9a5 /data/templates/https/vyos-http-api.service.tmpl | |
parent | 4dc4bbc6ce6ab4a3a531b16619b5c34816366afc (diff) | |
download | vyos-1x-679415a515d126e901703ea1288f7976ee675ab3.tar.gz vyos-1x-679415a515d126e901703ea1288f7976ee675ab3.zip |
Revert "https: T4333: migrate to new vyos_defined Jinja2 test"
This reverts commit 77bbf766e8023e73df1c3c1360f607a4d94727fd.
Diffstat (limited to 'data/templates/https/vyos-http-api.service.tmpl')
-rw-r--r-- | data/templates/https/vyos-http-api.service.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/https/vyos-http-api.service.tmpl b/data/templates/https/vyos-http-api.service.tmpl index fb424e06c..15bd80d65 100644 --- a/data/templates/https/vyos-http-api.service.tmpl +++ b/data/templates/https/vyos-http-api.service.tmpl @@ -1,11 +1,11 @@ -{% set vrf_command = 'ip vrf exec ' ~ vrf ~ ' ' if vrf is vyos_defined else '' %} +{% set vrf_command = 'ip vrf exec ' + vrf + ' ' if vrf is defined else '' %} [Unit] Description=VyOS HTTP API service After=vyos-router.service Requires=vyos-router.service [Service] -ExecStart={{ vrf_command }}/usr/libexec/vyos/services/vyos-http-api-server +ExecStart={{vrf_command}}/usr/libexec/vyos/services/vyos-http-api-server Type=idle SyslogIdentifier=vyos-http-api |