[systemd-devel] Samba Config Reload

Yolo von BNANA yolo at bnana.de
Sat Apr 9 08:00:53 UTC 2022


------- Original Message -------
On Friday, April 8th, 2022 at 13:49, Lennart Poettering <lennart at poettering.net> wrote:

> This could be done better. Plugging in just a "kill" here, means the
> reload is async. i.e. "systemctl reload" will basically return
> immediately without the reload being complete, thus subsequent
> commands can't rely the new config is already in place.
> 

> It's typically nicer to invoke some synchronous command from
> ExecReload=.


Can you please explain this in more Detail?

What does this mean: " "systemctl reload" will basically return
immediately without the reload being complete"?

And what is an Example for an synchronous command for ExecReload=

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 855 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20220409/33f9f253/attachment.sig>


More information about the systemd-devel mailing list