summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2023-10-10 19:11:20 +0100
committerGitHub <noreply@github.com>2023-10-10 19:11:20 +0100
commitf48727eee9cb6a1d20c2f6814359fc34af51a7b0 (patch)
treea2805d326b731e703fb80cc027127aa06a8157b9 /data/templates
parent9ceba9ede21f4f89bd0b4ee614178b82cddb7d41 (diff)
parent93d2ea7d635c7aa5acf3000654393ea48b7c6405 (diff)
downloadvyos-1x-f48727eee9cb6a1d20c2f6814359fc34af51a7b0.tar.gz
vyos-1x-f48727eee9cb6a1d20c2f6814359fc34af51a7b0.zip
Merge pull request #2352 from jestabro/api-self-config
http-api: T2612: correct the response message and add reload for api self-configuration
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