# /etc/systemd/system/cashumints-web.timer # # The nightly rebuild. Mint pages are prerendered, so a new mint or a new review count # appears at the next build; between builds the site stays correct because the islands # refresh status and reviews at runtime, and a mint indexed since the last build still # resolves through the client-side fallback on the 404 page. # # sudo systemctl enable --now cashumints-web.timer # # The service it starts builds first and publishes second, so a failed build leaves the # running site untouched rather than replacing it with a half-written one. [Unit] Description=Nightly cashumints.space rebuild [Timer] OnCalendar=*-*-* 03:30:00 # Run it on the next boot if the machine was off at 03:30, rather than skipping a day. Persistent=true # Without this every host rebuilds on the same second. Harmless with one VPS; free # insurance if there is ever a second. RandomizedDelaySec=15m [Install] WantedBy=timers.target