Re: Does user timer start at boot?

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

 



On Di, 02.10.18 16:25, Kamil Jońca (kjonca@xxxxx) wrote:

> 
> 
> I do not know if I not overlooked something.
> 
> But my question is:
> Does "--user" timer start at boot like user cron entries?

Not normally no. That's because the systemd --user instance (which
runs user services, i.e. user@<foobar>.service) is not run at boot for
regular users.

That said you can do "loginctl set-linger <someusers>". If you do,
then the user's systemd --user instance gets started at boot, and is
shutdown only when the system goes down. In that case the timers are
runnable also before the user logs in, starting with the system boot.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
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