redis: increase the max number of fds to actually match redis.conf

Now that the processes no longer runs as root, we need to increase
the limit for it.

This only affects systemd based systems.

Signed-off-by: Frank Meerkoetter <frank@meerkoetter.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Frank Meerkoetter authored and Martin Jansa committed 2016-12-09 12:02:13 +01:00
1 parent a1bdd5f40e
commit 3d998f3745
1 file changed
+1
@@ -8,6 +8,7 @@ Group=redis
ExecStart=/usr/bin/redis-server /etc/redis/redis.conf
ExecStop=/usr/bin/redis-cli shutdown
Restart=always
LimitNOFILE=10032
[Install]
WantedBy=multi-user.target