[systemd-devel] Question about ExecStartPost= and startup process

Francis Moreau francis.moro at gmail.com
Sun Jun 28 10:02:57 PDT 2015


On 06/28/2015 01:01 PM, Reindl Harald wrote:
> 
> 
> Am 28.06.2015 um 12:00 schrieb Francis Moreau:
>> Hello,
>>
>> For services with Type=Forking, I'm wondering if systemd  proceeds
>> starting follow-up units when the command described by ExecStart= exits
>> or when the one described by ExecStartPost= exits ?
>>
>> I tried to read the source code to figure this out and it *seems* that
>> the latter is true but I'm really not sure.
> 
> after ExecStartPost because anything else would make no sense, a unit is 
> started when *all* if is st started - see the recent mariadb units on 
> Fedora - if systemd would fire up deaemons which depend on mariadb the 
> whole "wait-ready"-stuff won't work
> 

Ok, then the next naive question would be: "then what the purpose of the
ExecStartPost= directive since several commands can already be 'queued'
with the ExecStart= one ?

Thanks.


More information about the systemd-devel mailing list