11-16-2012
Perhaps an strace will show you where systemctl goes for his hibernate conf?
9 More Discussions You Might Find Interesting
1. Ubuntu
Hello everyone, I finally installed Ubuntu 9.04 64 bit using dual boot.
Love it! :b: Now I have an issue with the hibernation, it just turns off the monitor instead of the whole system when I click.
Is there some else I have to get done?
please advice,
Many thanks. (2 Replies)
Discussion started by: Pitroadrush
2 Replies
2. Red Hat
I've installed Rhel 5.1 in an intel quad core server. I couldn't find the Hibernation option. And can't find anything related to it in the power management options. Plz guide how to install hibernation or enable thise option.
Thanks,
Giri (1 Reply)
Discussion started by: giri_blr
1 Replies
3. Ubuntu
I don't know why, but I can't connect to my WiMax network after waking up from hibernation... System log shows the following messages:
Feb 5 10:07:52 lenovo-S102 wimaxd: wimaxd event: libwimax:
6843 Feb 5 10:07:52 lenovo-S102 wimaxd: wimaxd event: E: RX: cannot join multicast group 0: -22... (4 Replies)
Discussion started by: Sapfeer
4 Replies
4. Shell Programming and Scripting
I had issues with processes locking up. This script checks for processes and kills them if they are older than a certain time.
Its uses some functions you'll need to define or remove, like slog() which I use for logging, and is_running() which checks if this script is already running so you can... (0 Replies)
Discussion started by: sukerman
0 Replies
5. Red Hat
hello,
I am running rhel6 open client.
I have a firewall in my office at work and I have to authenticate to BSO every 4 hours. Instead of doing it manually I wrote a perl script which does this for me.
I placed that script in rc.local file and it get executed every time I restart system. The... (2 Replies)
Discussion started by: susja
2 Replies
6. UNIX for Advanced & Expert Users
I am writing a program that must determine certain things about services. How can I, or my program, determine which services are started automatically when a given target becomes active. It is my impression that just looking in the target's .wants directory is inadequate because of other... (2 Replies)
Discussion started by: Brandon9000
2 Replies
7. UNIX for Advanced & Expert Users
Hallo
I don't know where to put my question so I put it here.
I want that systemd let run a script but only on shutdown or reboot
and before the system umount the mounted devices.
I look on google but only a little information is found and not working
Until no, I don't find an solution for... (1 Reply)
Discussion started by: thailand
1 Replies
8. SuSE
Hello All,
OS: openSUSE 13.1 (Bottle) (armv7hl)
uname -a: Linux linux.site 3.14.14-cubox-i #1 SMP Sat Sep 13 03:48:24 UTC 2014 armv7l armv7l armv7l GNU/Linux
So this is my first attempt at starting a service at boot with systemd. I've done this with inittab in the past,
but I'm having... (0 Replies)
Discussion started by: mrm5102
0 Replies
9. Linux
hi moring everyone,
i has used systemd-timer running the task, i set every 5 second execute 1 times,but the systemd-timer don't by that also random times execute.
what's reason.
testest.timer configure
------------------------------------------------------------------------
... (2 Replies)
Discussion started by: shean
2 Replies
LEARN ABOUT MOJAVE
systemd-sleep
SYSTEMD-SUSPEND.SERVICE(8) systemd-suspend.service SYSTEMD-SUSPEND.SERVICE(8)
NAME
systemd-suspend.service, systemd-hibernate.service, systemd-hybrid-sleep.service, systemd-suspend-then-hibernate.service, systemd-sleep -
System sleep state logic
SYNOPSIS
systemd-suspend.service
systemd-hibernate.service
systemd-hybrid-sleep.service
systemd-suspend-then-hibernate.service
/lib/systemd/system-sleep
DESCRIPTION
systemd-suspend.service is a system service that is pulled in by suspend.target and is responsible for the actual system suspend.
Similarly, systemd-hibernate.service is pulled in by hibernate.target to execute the actual hibernation. Finally,
systemd-hybrid-sleep.service is pulled in by hybrid-sleep.target to execute hybrid hibernation with system suspend and pulled in by
suspend-then-hibernate.target to execute system suspend with a timeout that will activate hibernate later.
Immediately before entering system suspend and/or hibernation systemd-suspend.service (and the other mentioned units, respectively) will
run all executables in /lib/systemd/system-sleep/ and pass two arguments to them. The first argument will be "pre", the second either
"suspend", "hibernate", "hybrid-sleep", or "suspend-then-hibernate" 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 /lib/systemd/system-sleep/ are intended for local use only and should be considered hacks. If
applications want to react to system suspend/hibernation and resume, they should rather use the Inhibitor interface[1].
Note that systemd-suspend.service, systemd-hibernate.service, and systemd-hybrid-sleep.service systemd-suspend-then-hibernate.service
should never be executed directly. Instead, trigger system sleep states with a command such as "systemctl suspend" or similar.
Internally, this service will echo a string like "mem" into /sys/power/state, to trigger the actual system suspend. What exactly is written
where can be configured in the "[Sleep]" section of /etc/systemd/sleep.conf or a sleep.conf.d file. See systemd-sleep.conf(5).
OPTIONS
systemd-sleep understands the following commands:
-h, --help
Print a short help text and exit.
--version
Print a short version string and exit.
suspend, hibernate, hybrid-sleep, suspend-then-hibernate
Suspend, hibernate, suspend then hibernate, or put the system to hybrid sleep.
SEE ALSO
systemd-sleep.conf(5), systemd(1), systemctl(1), systemd.special(7), systemd-halt.service(8)
NOTES
1. Inhibitor interface
https://www.freedesktop.org/wiki/Software/systemd/inhibit
systemd 237 SYSTEMD-SUSPEND.SERVICE(8)