summaryrefslogtreecommitdiff
path: root/src/systemd/vyos-hostsd.service
blob: 2444f53527a4760db82760abe6efddbfb06fd27f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=VyOS DNS configuration keeper
DefaultDependencies=no
After=systemd-remount-fs.service

[Service]
ExecStart=/usr/bin/python3 -u /usr/libexec/vyos/services/vyos-hostsd
Type=idle
KillMode=process

SyslogIdentifier=vyos-hostsd
SyslogFacility=daemon

Restart=on-failure

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

[Install]
RequiredBy=cloud-init-local.service vyos-router.service