[systemd-devel] Question about ExecStartPost= and startup process
Reindl Harald
h.reindl at thelounge.net
Sun Jun 28 10:21:41 PDT 2015
Am 28.06.2015 um 19:02 schrieb Francis Moreau:
> 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?
no, they can't, not for every service type
"When Type is not oneshot, only one command may and must be given"
read http://www.freedesktop.org/software/systemd/man/systemd.service.html
-------------- 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/20150628/c5a70717/attachment.sig>
More information about the systemd-devel
mailing list