[Nix-dev] systemd dependencies for a network service

Thomas Hunger tehunger at gmail.com
Sat Jan 14 18:35:02 CET 2017


Hi Azul,

Would running after dhcpcd.service work?

~

On 14 January 2017 at 16:57, Azul <mail at azulinho.com> wrote:

> I have a systemd vpn service that is wantedBy 'network.target', and runs
> after 'network-interfaces.target'.
>
> However the service fails to start properly (it does start but not in a
> useful way), as it requires DNS resolution to work and that doesn't seem to
> be the case after 'network-interfaces.target' is complete.
>
> Scratching my head to find out which of the systemd services provides that
> functionality, or if I will have to write a simple service that probes and
> waits for dns resolution and use that for my 'after=' systemd property.
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170114/20454854/attachment.html>


More information about the nix-dev mailing list