[systemd-devel] Forward systemd's sleep.target to a systemd user session
joerg at higgsboson.tk
Sat Jul 13 23:59:32 PDT 2013
Am 12.07.2013 00:51, schrieb Lennart Poettering:
> On Wed, 10.07.13 21:04, Jörg Thalheim (joerg at higgsboson.tk) wrote:
>> How I can trigger sleep.target in systemd --user session?
> What precisely are you trying to do with this?
>> My use case is to logout my jabber client before suspend (I hope this
>> does not sounds to trivial compared to your serious problems, but you
>> might come up with other use cases).
> It's probably a better idea to patch the client to use a delay inhibitor
> for this:
Inhibitor locks seams to be the perfect answer.
Is "systemd --user" aware of this feature?
It would be useful to spawn a service/unit before suspend/shutdown.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 553 bytes
Desc: OpenPGP digital signature
More information about the systemd-devel