how to make systemd wait for a process to die?
mzerqung at 0pointer.de
Mon Sep 19 17:30:37 UTC 2011
On Mon, 19.09.11 14:25, Juan Orti Alcaine (j.orti.alcaine at gmail.com) wrote:
> It works. I deleted the line KillMode because it has some child processes I
> want to shut down even if the script times out. I have increased the timeout
> to 30 secs because I noticed sometimes it takes a lot longer to close the
> tunnel. Is there any problem about this?
Unless there's a really good reason to change TimeoutSec= I'd always
recommend not setting it at all (which leaves it at the default of 90s).
Lennart Poettering - Red Hat, Inc.
More information about the devel