summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/systemd/vyos-http-api.service6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/systemd/vyos-http-api.service b/src/systemd/vyos-http-api.service
index f0665e3d5..53322a84f 100644
--- a/src/systemd/vyos-http-api.service
+++ b/src/systemd/vyos-http-api.service
@@ -3,10 +3,12 @@ Description=VyOS HTTP API service
After=auditd.service systemd-user-sessions.service time-sync.target
[Service]
-ExecStart=/usr/libexec/vyos/services/vyos-http-api-server
-ExecReload=/bin/kill -TERM $MAINPID
+ExecStart=/usr/bin/python3 -u /usr/libexec/vyos/services/vyos-http-api-server
KillMode=process
+SyslogIdentifier=vyos-http-api
+SyslogFacility=daemon
+
# Does't work but leave it here
User=root
Group=vyattacfg