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

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

 



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

Thanks,
Erik Sjölund
_______________________________________________
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