[systemd-devel] /etc/systemd/system/darkice.service

Kai Hendry hendry at iki.fi
Wed Jul 24 21:55:12 PDT 2013


On 25 July 2013 00:56, Andrey Borzenkov <arvidjaar at gmail.com> wrote:
> Do you really want all your services that depend on network being up to
> fail if your AP is busy and needs 61 seconds to establish connection?

Firstly I use a PI with a wired connection with netctl ifplugd. I
don't know if there is a sane replacement for ifplugd / "network
hotplug", but anyway it takes alarmingly about 10secs to get an IP.
http://ix.io/6RA

There should be only *one* darkice.service, that depends on
network-online.target atm.

Though if you take a look at http://ix.io/6Rz you can see `systemctl
show -p "Requires" network-online.target` does not work for some
reason. I was expecting it to say darkice.service. I probably just
don't understand how dependencies work in systemd. Nightmare.


Without being pedantic, I would be happy to make pingtest.service run
continually until it gets the first taste of the Internet.


More information about the systemd-devel mailing list