summaryrefslogtreecommitdiff
path: root/data/templates/https/vyos-http-api.service.j2
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-10-11 10:05:53 -0500
committerGitHub <noreply@github.com>2023-10-11 10:05:53 -0500
commit759c2d8afd09e394253fa09ae86cb2e97cc8a391 (patch)
treeb3480e339299d85e6a9e72f0ca4e133745155cca /data/templates/https/vyos-http-api.service.j2
parent7720ee247c03eeeab895da27804996571ffb476b (diff)
parent9c7a4b43278e2da0c423089100fb0878239e0aa6 (diff)
downloadvyos-1x-759c2d8afd09e394253fa09ae86cb2e97cc8a391.tar.gz
vyos-1x-759c2d8afd09e394253fa09ae86cb2e97cc8a391.zip
Merge pull request #2354 from vyos/mergify/bp/sagitta/pr-2352
http-api: T2612: correct the response message and add reload for api self-configuration (backport #2352)
Diffstat (limited to 'data/templates/https/vyos-http-api.service.j2')
-rw-r--r--data/templates/https/vyos-http-api.service.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/https/vyos-http-api.service.j2 b/data/templates/https/vyos-http-api.service.j2
index fb424e06c..f620b3248 100644
--- a/data/templates/https/vyos-http-api.service.j2
+++ b/data/templates/https/vyos-http-api.service.j2
@@ -6,6 +6,7 @@ Requires=vyos-router.service
[Service]
ExecStart={{ vrf_command }}/usr/libexec/vyos/services/vyos-http-api-server
+ExecReload=kill -HUP $MAINPID
Type=idle
SyslogIdentifier=vyos-http-api