• phx@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

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

    • TheInsane42@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      1 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.