On Tue, 07.06.16 16:13, Andrei Borzenkov ([email protected]) wrote:

> On Tue, Jun 7, 2016 at 1:14 PM, Lennart Poettering
> <[email protected]> wrote:
> > On Sun, 05.06.16 20:07, Anders Papitto ([email protected]) wrote:
> >
> >> Hello,
> >>
> >> what is the best way to cause a user unit to trigger upon resuming from 
> >> suspend?
> >
> > You could write a service that is pulled in by suspend.target and
> > orderes itself after systemd-suspend.service.
> >
> 
> *user* service unit? How can system unit have dependency on user unit
> (or in other direction)? Can you give an example?

Oh, I didn't see that. There's no provison for that, sorry. You#d have
to write a program that watches bus signals and does something. Sorry.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to