~tardypad/dotfiles

33ca1a08ea73fb304e13ef9be088366f13883456 — Damien Tardy-Panis 2 months ago ba06b74
Set systemd timers for cache service to run daily

See commit ecec8a14d19e5e8ea61c89f3e56f3ae4e032190d
Contrary to the qutebrowser update adblock service, they don't need to
have the DISPLAY value set and so can be run even before it becomes
available.

This is a better setting in case we're not re login for a while or just
using sessions for a short period of time.
M files/configs/systemd/user/documentation_build_cache.timer => files/configs/systemd/user/documentation_build_cache.timer +2 -1
@@ 2,7 2,8 @@
Description=Build documentation topics list cache

[Timer]
OnStartupSec=1h
OnCalendar=daily
Persistent=true

[Install]
WantedBy=timers.target

M files/configs/systemd/user/documents_build_cache.timer => files/configs/systemd/user/documents_build_cache.timer +2 -1
@@ 2,7 2,8 @@
Description=Build documents list cache

[Timer]
OnStartupSec=1h
OnCalendar=daily
Persistent=true

[Install]
WantedBy=timers.target