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:
1 parent
162f12814a
commit
1ca2bf0b94
1 file changed
+4
@@ -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 = {
|
networking.firewall = {
|
||||||
extraCommands = ''
|
extraCommands = ''
|
||||||
# Allow ai-memory only from Netbird mesh VPN
|
# Allow ai-memory only from Netbird mesh VPN
|
||||||
|
|||||||
Reference in new issue
Block a user