[systemd-devel] Does user timer start at boot?
Kamil Jońca
kjonca at o2.pl
Tue Oct 2 15:14:45 UTC 2018
Lennart Poettering <lennart at poettering.net> writes:
> On Di, 02.10.18 16:25, Kamil Jońca (kjonca at o2.pl) 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.
More information about the systemd-devel
mailing list