[systemd-devel] Timer: time format

Michael Chapman mike at very.puzzling.org
Tue Aug 23 14:12:39 UTC 2016


On Tue, 23 Aug 2016, arnaud gaboury wrote:
> Do I have to add:
> Persistent=true
> and an OnBootSec entry ?

OnUnitActiveSec= without OnBootSec= is a bit problematic... if you never 
start the service manually (or have something else in systemd start it), 
then the OnUnitActiveSec= directive is ineffective, since there's no 
"previous" time for the "next" time to be calculated from.

Persistent=true is mostly useful if you care about catching up on missed 
triggers while the system wasn't running.

- Michael


More information about the systemd-devel mailing list