mirror of
https://github.com/bitbaum/evig.git
synced 2026-12-03 21:07:01 +01:00
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>
12 lines
345 B
Desktop File
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
|