[systemd-devel] Boot ordering

Christoph Pleger Christoph.Pleger at cs.tu-dortmund.de
Fri Mar 20 02:42:44 PDT 2015


Hello,

"Dimitri John Ledkov" <dimitri.j.ledkov at intel.com> wrote:

>> I want a program to be run at boot time without any other systemd
>> services
>> starting concurrently. The program needs the services from basic.target
>> and may influence everything in multi-user.target and later targets, so
>> I
>> guess that between basic.target and multi-user.target is a good time for
>> execution of the program.
>>
>> I hoped that this can be achieved by simply defining a new target,
>> setting
>> after basic.target dependencies for it and changing the dependencies of
>> multi-user.target from basic.target to my new target. This would not
>> require me too know anything about the specific services in basic.target
>> and multi-user.target .
>
> Sounds like you want to create intermediate.target, change
> default.target to point at it, boot all the way up to
> intermediate.target, and at that point isolate or start
> multi-user.target.

I chose that solution, because from all possible solutions for the desired
boot order, it seems to be the one which is closest to my idea.

Regards
  Christoph



More information about the systemd-devel mailing list