fix: provision config.yaml/.env + systemd EnvironmentFile drop-in

Fixes #9 (custom_providers missing — fresh installs had no config.yaml/.env,
so gateway had no provider to connect to) and #10 (systemd unit had no
EnvironmentFile, so gateway couldn't read rocketchat.env/.env → crash-loop).

Templates provisioned on first install only (no overwrites):
- templates/config.yaml: minimal working config with ollama-cloud provider
- templates/.env: API key placeholder
- templates/hermes-gateway-env.conf: systemd drop-in wiring rocketchat.env + .env
This commit is contained in:
Hermes Agent
2026-06-03 12:24:08 +02:00
parent bb8623aed5
commit f54f90be5b
4 changed files with 83 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
# Rocket.Chat Plugin — environment file hook for hermes-gateway
# Generated by install.sh — do not edit manually
[Service]
EnvironmentFile=%h/.config/hermes/rocketchat.env
EnvironmentFile=%h/.hermes/.env