On Wed, 02.05.12 15:40, David Strauss ([email protected]) wrote:

> 
> On Wed, May 2, 2012 at 1:19 PM, Sebastian Tramp
> <[email protected]> wrote:
> > Are there existing service files which solve a similar or the same issue?
> 
> You may want a target [1]. There is already a network target, but I
> believe it comes up before NetworkManager fully initializes all
> interfaces. 

Well, by default we don't delay boot until NM signals that some network
devices have been configured. But if you want that you can do that
simply by enabling NetworkManager-wait-online.service, which then delays
network.target accordingly.

> I would consider adding a script that fires
> network-fully-up.target once NetworkManager finishes [2]. This would
> allow any service to install as "WantedBy" that target.

network.target should be sufficient for that.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to