FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 07-22-2011, 08:23 AM
Reindl Harald
 
Default systemd: call script BEFORE shutdown

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

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 03:11 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org