# SSOT: repo scripts/systemd/ — installed by deploy-selfhost.sh. # Instance of the generic orangecat-cron@.service template (curls # /api/cron/cat-account with CRON_SECRET). # # Asserts that the Cat has a profile. @cat is linked wherever it is written, so # a missing account makes every mention resolve to nobody — daily re-assertion # turns that from a support ticket into a self-healing invariant. [Unit] Description=OrangeCat Cat account invariant (daily) [Timer] # OnActiveSec is what makes a freshly deployed Cat exist within the minute. # `Persistent=true` only replays a run MISSED while the machine was down; a # timer enabled for the first time simply waits for the next OnCalendar, which # for a daily timer is up to 24 hours away. That gap is not cosmetic — until the # account exists, @cat resolves to nobody and nothing can be queued. OnActiveSec=1min OnCalendar=daily Persistent=true RandomizedDelaySec=15m [Install] WantedBy=timers.target