[systemd-devel] How to wait for "loginctl enable-linger username" to finish?
lennart at poettering.net
Mon Jan 11 19:13:24 UTC 2021
On Mo, 11.01.21 19:08, Erik Sjölund (erik.sjolund at gmail.com) wrote:
> 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:
Lennart Poettering, Berlin
More information about the systemd-devel