summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-10-22 15:26:16 +0200
committermakefu <github@syntax-fehler.de>2016-10-22 15:26:16 +0200
commit3fa63a4f312a885d353177db911f8a52ce7a1e1c (patch)
treeae702fc0700a3f6a38398fff3669fad610e1b71a
parentbb927ba0bbaa0f0a45d8b3c4f4cebac6fbe4f7c2 (diff)
m 2 mycube: fix redis mimimi
-rw-r--r--makefu/2configs/deployment/mycube.connector.one.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/makefu/2configs/deployment/mycube.connector.one.nix b/makefu/2configs/deployment/mycube.connector.one.nix
index 8f51c91dd..daadad05d 100644
--- a/makefu/2configs/deployment/mycube.connector.one.nix
+++ b/makefu/2configs/deployment/mycube.connector.one.nix
@@ -6,7 +6,11 @@ let
external-ip = config.krebs.build.host.nets.internet.ip4.addr;
wsgi-sock = "${config.services.uwsgi.runDir}/uwsgi.sock";
in {
- services.redis.enable = true;
+ services.redis = {
+ enable = true;
+ };
+ systemd.services.redis.serviceConfig.LimitNOFILE=10032;
+
services.uwsgi = {
enable = true;
user = "nginx";