[systemd-devel] On(Resume|suspend|hibernate) in unit files?

Cristian Rodríguez crrodriguez at opensuse.org
Wed Feb 27 17:22:17 PST 2013


Hi:

There is buggy, legacy software around which simply does not behave 
properly when faced with resume/suspend/hibernate which is not always 
practical to modify or fix.

Is there any way to have something like

ReloadOnResume=[true|false]
StopOnSuspend=[true|false]

Or some other mechanism provided by systemd/logind that does not require 
to use the ugly /usr/lib/systemd/system-sleep/ hooks ?

Thanks.


More information about the systemd-devel mailing list