awein / SleepProxyClient

A SleepProxyClient implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pm-hibernate

tristan-k opened this issue · comments

I'm using a HP Microserver ProLiant N54L which doesnt support pm-suspend. Instead I have to use pm-hibernate. Aside from taking more time to get the server up again, will the script still work? Which parts do I have to change?

Regards

Tristan

I assume you're talking about the checkSleep.sh script. This script is provided as an example for a typical Linux distribution. It's just an example which should be adjusted to fit special configurations.

Just change pm-suspend at line 30 to pm-hibernate and check if it's working. Enabling debugging by removing the # in front of the logging commands might be a good idea too.

Enabling debugging by removing the # in front of the logging commands might be a good idea too.

Can you point me to files and lines to uncomment. I just found # enable debug mode in /etc/default/sleepproxyclient, but I dont know where the log files are stored?

@tristan-k that's not what I meant (This would enable debugging for mdns handling).
You should take a look at checkSleep.sh - this file (or your own version of if) needs to be called every couple minutes to check if the system should enter hibernation or keep awake.