systemd: call script BEFORE shutdown

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

 



what is the best way to place a shellscript which is called as
soon as possible before shutdown/reboot happens?

in my case for VMware-Workstation to suspend possibly in the
background running virtual machines since systemd vreaks
the logic of the the /etc/init.d/vmware

important is that the system must wait until this script
is really finished what can take some minutes

/lib/systemd/system-shutdown
/lib/systemd/systemd-shutdown
/lib/systemd/systemd-shutdownd
/lib/systemd/system/canberra-system-shutdown-reboot.service
/lib/systemd/system/canberra-system-shutdown.service
/lib/systemd/system/shutdown.target
/lib/systemd/system/shutdown.target.wants
/lib/systemd/system/systemd-shutdownd.service
/lib/systemd/system/systemd-shutdownd.socket
/lib/systemd/system/systemd-update-utmp-shutdown.service
/lib/systemd/system/shutdown.target.wants/alsa-store.service
/lib/systemd/system/shutdown.target.wants/hwclock-save.service
/lib/systemd/system/shutdown.target.wants/systemd-random-seed-save.service
/lib/systemd/system/shutdown.target.wants/systemd-update-utmp-shutdown.service
/lib/systemd/system/sockets.target.wants/systemd-shutdownd.socket

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
[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