Am 12.07.2013 00:51, schrieb Lennart Poettering: > On Wed, 10.07.13 21:04, Jörg Thalheim ([email protected]) 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: > > http://www.freedesktop.org/wiki/Software/systemd/inhibit/
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.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
