# Put the nameserver where the resolver will look. # # musl's resolver reads /etc/resolv.conf and has always been able to do the # rest by itself; the kernel learns the nameserver from DHCP and publishes it # at /proc/resolv.conf. This job is the one line joining the two, and without # it nothing on this system could turn a name into an address -- which made # wget, and every other program that takes a hostname, look individually # broken. # # RunAtLoad with no KeepAlive: it waits for DHCP, writes the file once and # exits. A job that has finished is not a job that failed, so restarting it # would be wrong. # # It will not overwrite an existing /etc/resolv.conf. A machine with a # hand-written one has been configured on purpose, and `resolvconf -f` is how # you say you meant it. Label = os.schos.resolvconf Program = /bin/resolvconf Args = resolvconf RunAtLoad = yes KeepAlive = no StandardOut = /dev/tty1 StandardError = /dev/tty1