Re: systemd: wait for shutdown-service to complete

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

 



On Tue, Dec 13, 2011 at 3:16 PM, Reindl Harald <h.reindl@xxxxxxxxxxxxx> wrote:
> hi
>
> i am trying to suspend / start my VMware-Workstation machines automatically
> below my systemd-unit and the two shell-scripts
> start works like a charme (yes i use a seperated user for VM's)
>
> shutdown works on a machine with one small VM
> on my homeserver i see that it is executed (script output)
> but systemd does not wait until all machines are compleltly suspended
> seeing boot-messages and partially fscheck in the guests
>
> 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.

-T.C.
-- 
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