diff options
Diffstat (limited to 'src/systemd/vyos-hostsd.service')
-rw-r--r-- | src/systemd/vyos-hostsd.service | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/systemd/vyos-hostsd.service b/src/systemd/vyos-hostsd.service new file mode 100644 index 000000000..8ff213d2b --- /dev/null +++ b/src/systemd/vyos-hostsd.service @@ -0,0 +1,23 @@ +[Unit] +Description=VyOS DNS configuration keeper +After=auditd.service systemd-user-sessions.service time-sync.target +Before=vyos-router.service cloud-init.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] +# Installing in a earlier target leaves ExecStartPre waiting +WantedBy=getty.target + |