Re: EXT: Re: Custom target between basic and multi-user targets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Thank you Lennart.
The target inclusion between basic and multi-user is OK. The list-dependencies shows it as expected.
I also add the set-default to foo.target to be able to check it.

>From https://www.freedesktop.org/software/systemd/man/latest/bootup.html, at this stage, filesystems should be mounted (confirmed by the logs on the serial console), so normally I should be able to execute any binary as 'root' called by ExecStart.

Is that correct ?

Thanks.
Best regards,
Patrick Agrain

-----Message d'origine-----
De : Lennart Poettering <lennart@xxxxxxxxxxxxxx> 
Envoyé : jeudi 4 avril 2024 17:28
À : Agrain Patrick <patrick.agrain@xxxxxxxxxxxxxxxxx>
Cc : systemd-devel@xxxxxxxxxxxxxxxxxxxxx
Objet : EXT: Re:  Custom target between basic and multi-user targets


** External email - Please consider with caution **


On Do, 04.04.24 14:34, Agrain Patrick (patrick.agrain@xxxxxxxxxxxxxxxxx) wrote:

> Hello,
>
> Is it possible to insert a custom foo.target between basic.target and 
> multi-user.target by just adding some After/Before/Wants/Requires in 
> the foo.[target | service] files ?

Yes.

Lennart

--
Lennart Poettering, Berlin




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux