docs: KRONAI_CONFIG env var in systemd example doesn't work #104

Closed
opened 2026-07-05 14:40:00 +00:00 by the.auditor · 0 comments
Owner

The systemd service unit example in docs/cron-integration.md:99-100 sets Environment=KRONAI_CONFIG=/etc/kronai/config.toml but the CLI doesn't read a KRONAI_CONFIG env var — it uses --config flag.

Either:

  1. Fix the docs to use ExecStart=/usr/local/bin/kronai --config /etc/kronai/config.toml %i
  2. Add KRONAI_CONFIG env var support to cli.py / config.py (then use either approach)

From PR #103 review suggestion.

The systemd service unit example in `docs/cron-integration.md:99-100` sets `Environment=KRONAI_CONFIG=/etc/kronai/config.toml` but the CLI doesn't read a `KRONAI_CONFIG` env var — it uses `--config` flag. Either: 1. Fix the docs to use `ExecStart=/usr/local/bin/kronai --config /etc/kronai/config.toml %i` 2. Add `KRONAI_CONFIG` env var support to `cli.py` / `config.py` (then use either approach) _From PR #103 review suggestion._
fuzzy closed this issue 2026-07-05 17:28:10 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/kronai#104
No description provided.