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 workOk, 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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
