Page MenuHomeVyOS Platform

vyos-hostsd.service
No OneTemporary

Size
850 B
Referenced Files
None
Subscribers
None

vyos-hostsd.service

[Unit]
Description=VyOS DNS configuration keeper
# Without this option, lots of default dependencies are added,
# among them network.target, which creates a dependency cycle
DefaultDependencies=no
# Seemingly sensible way to say "as early as the system is ready"
# All vyos-hostsd needs is read/write mounted root
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 in Jessie but leave it here
User=root
Group=vyattacfg
[Install]
# Note: After= doesn't actually create a dependency,
# it just sets order for the case when both services are to start,
# and without RequiredBy it *does not* set vyos-hostsd to start.
RequiredBy=cloud-init-local.service vyos-router.service

File Metadata

Mime Type
text/plain
Expires
Sat, Sep 26, 2:56 PM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4285481
Default Alt Text
vyos-hostsd.service (850 B)

Event Timeline