Re: etc/resolvconf/update-libc.d/ equivalent for systemd-resolved
On Wed, Dec 29, 2021 at 04:35:22PM -0500, Scott Kitterman wrote:
> The postfix package ships a script in /etc/resolvconf/update-libc.d/ to restart
> postfix when resolv.conf is updated. As far as I know, that still works if the
> resolvconf package is installed, but if not (i.e. Debian default), what's the
> equivalent? Does systemd-resolved have an equivalent? Should users that want
> this functionality install resolvconf?
Why do you need to restart services on resolv.conf changes? The libc
resolver takes care of it by re-reading the file after it changed.
Bastian
--
Actual war is a very messy business. Very, very messy business.
-- Kirk, "A Taste of Armageddon", stardate 3193.0
Reply to: