blob: 0fe08533fff2a8d7d5f2277bf4a3fccb4918919e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
[Unit]
Description=Write the agenda render cache for external surfaces
# Deliberately no dependency on emacs.service or graphical-session.target.
# The whole point is that the cache stays current while Emacs is down, so the
# writer is a batch Emacs that needs neither the daemon nor a compositor.
Documentation=file:%h/.emacs.d/modules/agenda-query.el
[Service]
Type=oneshot
ExecStart=%h/.emacs.d/scripts/agenda-render-cache
# One run is about a second of CPU. Cap it well above that so a wedged run is
# killed rather than left holding the timer.
TimeoutStartSec=120
Nice=10
|