[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