summaryrefslogtreecommitdiffstats
path: root/2configs/deployment
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
commitfbef7d56c7d8a082ab7a74a85587fada98bf6822 (patch)
tree4ae6f156c5f4913aec714844b49334ef7aa0e01a /2configs/deployment
parenteec8e8d19116fc08921c42a4e39a373e7e50129b (diff)
m 2 mycube: fix redis mimimi
Diffstat (limited to '2configs/deployment')
-rw-r--r--2configs/deployment/mycube.connector.one.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/2configs/deployment/mycube.connector.one.nix b/2configs/deployment/mycube.connector.one.nix
index 8f51c91dd..daadad05d 100644
--- a/2configs/deployment/mycube.connector.one.nix
+++ b/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";