https://bugzilla.novell.com/show_bug.cgi?id=890012
https://bugzilla.novell.com/show_bug.cgi?id=890012#c4
Dr. Werner Fink changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
CC| |crrodriguez@opensuse.org,
| |robert.vojta@izycg.cz,
| |vdziewiecki@suse.com
InfoProvider|systemd-maintainers@suse.de |
--- Comment #4 from Dr. Werner Fink 2014-08-28 08:28:04 UTC ---
This *is* the case -> man:systemd-sleep.conf(5),
man:systemd-hibernate.service(8), and man:systemd-suspend.service(8) ... no
idea how pm-utils fits into this scenario
Beside pm-utils the systemd-suspend.service(8) has its own hooks which can be
placed below /usr/lib/systemd/system-sleep/ ... from manual page:
[...]
Immediately before entering system suspend and/or hibernation
systemd-suspend.service (and the other mentioned units, respectively)
will run all executables in /usr/lib/systemd/system-sleep/ and pass two
arguments to them. The first argument will be "pre", the second either
"suspend", "hibernate", or "hybrid-sleep" depending on the chosen
action. Immediately after leaving system suspend and/or hibernation the
same executables are run, but the first argument is now "post". All
executables in this directory are executed in parallel, and execution
of the action is not continued until all executables have finished.
Note that scripts or binaries dropped in /usr/lib/systemd/system-sleep/
are intended for local use only and should be considered hacks. If
applications want to be notified of system suspend/hibernation and
resume, there are much nicer interfaces available.
[...]
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.