On Sun, 14.07.13 08:59, Jörg Thalheim (jo...@higgsboson.tk) wrote:
> Am 12.07.2013 00:51, schrieb Lennart Poettering:
> > On Wed, 10.07.13 21:04, Jörg Thalheim (jo...@higgsboson.tk) wrote:
> >
> >> How I can trigger sleep.target in systemd --user session?
> > What precisely are you trying to do wi
Am 12.07.2013 00:51, schrieb Lennart Poettering:
> On Wed, 10.07.13 21:04, Jörg Thalheim (jo...@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 t
On Wed, 10.07.13 21:04, Jörg Thalheim (jo...@higgsboson.tk) wrote:
> How I can trigger sleep.target in systemd --user session?
What precisely are you trying to do with this?
> Can I use "systemctl --user" only at a login shell and not in a systemd
> unit? Because using "systemd --user" from tty
How I can trigger sleep.target in systemd --user session?
My naive approach was first:
user-sleep@.service
[Unit]
Description=sleep.target of a systemd user session
Before=sleep.target
StopWhenUnneeded=yes
[Service]
Type=oneshot
User=%I
RemainAfterExit=yes
ExecStart=/