Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Check if this post is useful for your task: unix.stackexchange.com/questions/360214/… Commented May 12, 2022 at 18:00
  • @thanasisp thanks, I think I have seen that earlier, but did go over it once again. netplugd seems unmaintained, and Yocto has a ready made recipe for networkd-dispatcher. The other answers there are of no use to me - BindsTo= probably works for wireless interfaces, but for my wired case it doesn't seem to. Another option which just came to mind is to have my daemon work all the time and just check ethernet state via DBus. Commented May 12, 2022 at 18:12
  • 1
    Probably, you could use ifplugd as the daemon to do the job and start/stop your service. Commented May 12, 2022 at 21:30
  • @thanasisp holy hell, 17 years with no updates. Regardless, thanks, that's an alternative. I might not have been clear in my question - I'm not opposed to networkd-dispatcher specifically, but to simply pulling in another dependency. It's good to have alternatives, but that's about it. Commented May 12, 2022 at 22:17