asjon: use dedicated redis instance

This commit is contained in:
Michele Guerini Rocco 2022-08-08 16:32:30 +02:00
parent 0ef0391ec4
commit f3651ffa04
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450
2 changed files with 5 additions and 1 deletions

View File

@ -415,7 +415,10 @@
services.asjon.enable = true;
# Needed for the Asjon memory module
services.redis.enable = true;
services.redis.servers."asjon" =
{ enable = true;
user = "asjon";
};
### Program configuration

View File

@ -78,6 +78,7 @@ in {
REV_REMOTE_HOST = "proxy@rnhmjoj.ydns.eu";
REV_REMOTE_PORT = "22";
REV_KEY = "~/.ssh/proxy";
REDIS_URL = "redis:///run/redis-asjon/redis.sock";
};
serviceConfig = {