summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-10-06 22:27:19 -0500
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-10-10 18:12:07 +0000
commit9c7a4b43278e2da0c423089100fb0878239e0aa6 (patch)
treeb3480e339299d85e6a9e72f0ca4e133745155cca /data/templates
parent09adc91eda586f5349b3ab5866de179e9a07c7d8 (diff)
downloadvyos-1x-9c7a4b43278e2da0c423089100fb0878239e0aa6.tar.gz
vyos-1x-9c7a4b43278e2da0c423089100fb0878239e0aa6.zip
http-api: T2612: reload server within configsession for api self-config
(cherry picked from commit 93d2ea7d635c7aa5acf3000654393ea48b7c6405)
Diffstat (limited to 'data/templates')
-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