diff options
author | Daniil Baturin <daniil@baturin.org> | 2019-08-20 18:53:35 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-08-27 08:14:20 +0200 |
commit | 33672c81a8a1b0a9e5508482a5a765243e21849c (patch) | |
tree | 62c80e563329e5f8018c24c662f81f4a929ea258 /src/systemd | |
parent | 8c471a772153ae7dc6d3b934c5a96706bc9a6ba5 (diff) | |
download | vyos-1x-33672c81a8a1b0a9e5508482a5a765243e21849c.tar.gz vyos-1x-33672c81a8a1b0a9e5508482a5a765243e21849c.zip |
T1598: initial implementation of the hosts keeper daemon.
Conflicts:
debian/control
Diffstat (limited to 'src/systemd')
-rw-r--r-- | src/systemd/vyos-hostsd.service | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/systemd/vyos-hostsd.service b/src/systemd/vyos-hostsd.service new file mode 100644 index 000000000..fe6c163d7 --- /dev/null +++ b/src/systemd/vyos-hostsd.service @@ -0,0 +1,22 @@ +[Unit] +Description=VyOS DNS configuration keeper +After=auditd.service systemd-user-sessions.service time-sync.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] +# Installing in a earlier target leaves ExecStartPre waiting +WantedBy=getty.target + |