Am 14.12.2011 05:05, schrieb T.C. Hollingsworth:
On Tue, Dec 13, 2011 at 3:16 PM, Reindl Harald
<h.reindl(a)thelounge.net> wrote:
> has anybody an idea how i can make sure that systemd waits to finish
> "/scripts/vmware/vm-suspend-all.sh" before shutdown the next process
> (in this case vmware.service) and finally the system?
systemd by default times out after 90 seconds, and it probably takes
longer than that to shutdown your VMs. You can either set TimeoutSec
in your [Service] section to a higher value (in seconds) or set it 0
to disable timeouts completely. See the TimeoutSec section of "man
systemd.service" for more details.
ah sounds exactly what i searched for, thanks
i know i have found this some months ago but my problem with
the documentation is the split service/unit/exec :-(
yes 90 seconds is a little to low for suspend 5 virtual machines
while other disk-IO on shutdown, TimeoutSec=600 should be OK,
the machine is normally only rebootet by kernel-updates