Re: How to wait for "loginctl enable-linger username" to finish?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks a lot! I will try it out later when this new functionality is
more generally available.
Erik Sjölund

On Mon, Jan 11, 2021 at 8:13 PM Lennart Poettering
<lennart@xxxxxxxxxxxxxx> wrote:
>
> On Mo, 11.01.21 19:08, Erik Sjölund (erik.sjolund@xxxxxxxxx) wrote:
>
> > Hello,
> > In a script I noticed that I needed to add a "sleep 1" after
> > "loginctl enable-linger runner", otherwise the next command
> > "systemctl --user" would fail.
> >
> > Is it possible to somehow remove the "sleep 1"?
> >
> > For details see:
> > https://github.com/eriksjolund/user-systemd-service-actions-workflow
>
> https://github.com/systemd/systemd/pull/17967
>
> Lennart
>
> --
> Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux