[systemd-devel] Boot ordering
Reindl Harald
h.reindl at thelounge.net
Thu Mar 19 05:16:47 PDT 2015
Am 19.03.2015 um 13:09 schrieb Christoph Pleger:
>> What is the the
>> problem you are trying to solve by "implementing a new 'intermediate'
>> runlevel" ?
>
> 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
what about
After=basic.target
Before=multi-user.target
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150319/83ef5974/attachment.sig>
More information about the systemd-devel
mailing list