Re: (re)starting network deamon upon ifup
> Some network deamons like ntp are completely useless on my machine because
> they are started before the network interfaces are setup.
> I'm probably not the only one to see such problems.
> Has anybody already played with the idea of putting some appropriate
> scripts in /etc/network/if-*.d ?
> Where can I find documentation about how such scripts are called (i.e. when,
> with what parameters, what environment, ...) ?
BTW, for ntpd I ended up putting a script that just does stop&start in
/etc/resolvconf/updatelibc.d/ so it gets restarted everytime the resolv.conf
file is changed, which in my case corresponds to when reachability of NTP