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 2016-12-01 19:45:27 +01:00 committed by Martin Jansa
parent a1bdd5f40e
commit 3d998f3745

View File

@ -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