summaryrefslogtreecommitdiff
path: root/src/systemd/vyos-hostsd.service
blob: 3b0fadb5cb166cfe5b9c095e6f769dbd5b205f96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[Unit]
Description=VyOS DNS configuration keeper
After=auditd.service time-sync.target
Before=network-pre.target vyos-router.service
Wants=network-pre.target

[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]
#
WantedBy=network.target