On Wed, 18.03.15 17:10, Christoph Pleger (christoph.ple...@cs.tu-dortmund.de) 
wrote:

Warming up this old thread...

> Why does systemd not follow the above instructions to start the services
> of test.target after those of basic.target and before those of
> multi-user.target?

I figure this trhead already explaiend why this doesn't work as you
suggest. I just wanted to add what I think si the best option to do
what you want:

make your service an early boot service (by specifying
DefaultDependencies=no), then order it before basic.target. Then,
order it after the precise units you need from early boot, or, if you
really think you need all of them, order your unit after
sysinit.target, local-fs.target and possibly sockets.target,
paths.target, slices.target.

That way you will run after whatever you pick from the basic system
initialization, but before the first normal services are run.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to