Re: Does user timer start at boot?

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

 



Lennart Poettering <lennart@xxxxxxxxxxxxxx> writes:

> 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.

So I cannot run ONLY user timers?
(IE i have some services which I want only on user login, but I want to
use timers at boot?)
KJ

-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
philosophy:
	Unintelligible answers to insoluble problems.
_______________________________________________
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