fix(m3-hermes): restart ai-memory when its secret changes

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
m3tam3reandClaude Fable 5.1 committed 2026-10-25 14:24:51 +01:00
1 parent 162f12814a
commit 1ca2bf0b94
1 file changed
+4
+4
View File
@@ -39,6 +39,10 @@ in {
};
};
# A changed secret (model, keys, tokens) does not change the unit file, so
# without this the running server keeps the old environment after a switch.
systemd.services.ai-memory.restartTriggers = [config.age.secrets."ai-memory-server-env".file];
networking.firewall = {
extraCommands = ''
# Allow ai-memory only from Netbird mesh VPN