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

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

SyslogIdentifier=vyos-http-api
SyslogFacility=daemon

Restart=on-failure

User=root
Group=vyattacfg

[Install]
# Installing in a earlier target leaves ExecStartPre waiting
WantedBy=getty.target