mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 10:51:36 -04:00
18 lines
504 B
SYSTEMD
18 lines
504 B
SYSTEMD
# Fire the WROLPi release poller once an hour.
|
|
#
|
|
# Hourly is well within GitHub's unauthenticated API limit and means freshly
|
|
# built images land within roughly six hours of a release (the two image
|
|
# builds run sequentially). Persistent=true catches a release published while
|
|
# this host was powered off.
|
|
|
|
[Unit]
|
|
Description=Hourly WROLPi release poll
|
|
|
|
[Timer]
|
|
OnCalendar=hourly
|
|
# Spread the load off the exact top of the hour.
|
|
RandomizedDelaySec=5min
|
|
Persistent=true
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|