Files
evig/scripts/ops/evig-cron@.service
1b69f7746e fix(ops): rename revampit-* systemd units to evig-* (#435)
Completes the deliberate follow-up #434 called out: the box paths were
already fixed to /opt/evig, but the unit *names* — evig-transcription
(installed directly on the box, no repo unit file existed for it),
evig-backup.{service,timer}, and evig-cron@{.service,*.timer} — were
still revampit-*.

Renamed on the box first with a verified cutover (installed new units,
confirmed every timer's next-elapse time was unchanged from the old
schedule, ran a live one-off test of evig-cron@close-decisions.service —
got a real HTTP 200 from the app — then removed the old units). This
commit brings the repo, the source of truth per scripts/ops/README.md,
in line with what's now actually running.

Left alone, deliberately: the R2 bucket name (`revampit-backups`) and its
object-key prefixes (`revampit-db-`, `revampit-uploads-`) — renaming
live storage is a separate, higher-stakes change with no reliability
upside, not folded in here.


Claude-Session: https://claude.ai/code/session_01HVwg8DKHQktxJuHeLM3xpG

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-02 11:32:08 +00:00

12 lines
345 B
Desktop File

[Unit]
Description=evig self-hosted cron: %i
After=network-online.target evig-app.service
Wants=network-online.target
[Service]
Type=oneshot
# %i is the endpoint under /api/cron/ (e.g. close-decisions). Runs as root so it
# can read CRON_SECRET from the root-owned /opt/evig/app/.env.
ExecStart=/opt/evig/ops/run-cron.sh %i
TimeoutStartSec=180