Re: systemd: wait for shutdown-service to complete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 14.12.2011 05:05, schrieb T.C. Hollingsworth:
> On Tue, Dec 13, 2011 at 3:16 PM, Reindl Harald <h.reindl@xxxxxxxxxxxxx> 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

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux