fix systemd job

This commit is contained in:
2026-08-13 18:19:32 +02:00
parent addb16b6b0
commit 59d1d29458
3 changed files with 20 additions and 3 deletions
+4 -1
View File
@@ -48,7 +48,10 @@ scrape_interval_minutes = 15
# carry one. ZIP files themselves are never written to disk. Disabled by
# default, since the exporter is designed to be stateless (see README.md).
persist_raw_json = False
persist_raw_json_dir = "./raw_json"
# Under the systemd unit, StateDirectory=vw-eu-data-act-exporter makes
# systemd export $STATE_DIRECTORY (an already-created, correctly-owned
# directory) - fall back to a relative path for ad-hoc/local runs.
persist_raw_json_dir = os.environ.get("STATE_DIRECTORY", "./raw_json")
# --- Logging ---------------------------------------------------------------
log_level = "INFO"