summaryrefslogtreecommitdiff
path: root/src/systemd/vyos-http-api.service
blob: 509af48162d8b78e44fac5756b23c89be23efb79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=VyOS HTTP API service
After=auditd.service systemd-user-sessions.service time-sync.target

[Service]
ExecStart=/usr/bin/python3 -u /usr/libexec/vyos/services/vyos-http-api-server
KillMode=process

SyslogIdentifier=vyos-http-api
SyslogFacility=daemon

Restart=on-failure

# Does't work but leave it here
User=root
Group=vyattacfg

[Install]
WantedBy=multi-user.target