• @phx
    link
    61 year ago

    Wouldn’t you just set “networking” as a dependency on the unit of whatever you need started after?

    • TheInsane42
      link
      fedilink
      11 year ago

      That’s what you would do with the init scripts, as that environment waits until the previous one is finished. (ie you know you have working network) Systemd is in a hurry and there ‘after’ seems to mean ‘not before’ instead of ‘after <specified> is finished’, so after networking is started it advances to the next in line.

      • @phx
        link
        11 year ago

        Yeah. I’m not sure what the issue there is though?

        If you’re having issues with stuff that’s coming up after devices but before getting an IP, you might want to try putting another service as a dependency (dhcp client service maybe).

        You may also be falling victim to interface “allow-hotplug” setting. IIRC one of my systems I had to change this in the interfaces configuration to ensure the interface was up fully before other stuff started.