Skip to main content
replaced http://serverfault.com/ with https://serverfault.com/
Source Link

Here is a thread with a couple of ideas on how you can catch the hibernate event and log it yourself: http://serverfault.com/questions/199895/how-can-i-flush-my-ssh-keys-on-power-management-activity/199896#199896

  • Use dbus-python
  • Write PM scripts

I have never used dbus myself, but if you need help, here are some references:

Here is a thread with a couple of ideas on how you can catch the hibernate event and log it yourself: https://serverfault.com/questions/199895/how-can-i-flush-my-ssh-keys-on-power-management-activity/199896#199896

  • Use dbus-python
  • Write PM scripts

I have never used dbus myself, but if you need help, here are some references:

Source Link
haridsv
  • 659
  • 1
  • 8
  • 19

Here is a thread with a couple of ideas on how you can catch the hibernate event and log it yourself: http://serverfault.com/questions/199895/how-can-i-flush-my-ssh-keys-on-power-management-activity/199896#199896

  • Use dbus-python
  • Write PM scripts

I have never used dbus myself, but if you need help, here are some references: