[systemd-devel] "OnUnitInactiveSec Timer not firing" issue

Andrei Borzenkov arvidjaar at gmail.com
Mon Jul 29 11:18:44 UTC 2024


On Mon, Jul 29, 2024 at 2:12 PM Mantas Mikulėnas <grawity at gmail.com> wrote:

>>
>> Furthermore it seems to be necessary to run the service unit itself,  too (assuming it must be enabled also, right?)
>
>
> No. The purpose of the timer is to start the service, so starting the service manually (or "enabling" it, to be started on boot) would be redundant.
>

OnUnitInactiveSec begins counting when service gets stopped. How is
this timer supposed to start a service that was never active (and
hence never stopped) before?


More information about the systemd-devel mailing list