[oe-commits] [meta-openembedded] 06/30: redis: increase the max number of fds to actually match redis.conf

git at git.openembedded.org git at git.openembedded.org
Fri Dec 9 11:08:07 UTC 2016


martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit 3d998f3745b90c6b4db5eaa739e4f976b5d5eef2
Author: Frank Meerkoetter <meerkoetter at googlemail.com>
AuthorDate: Thu Dec 1 19:45:27 2016 +0100

    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 at meerkoetter.org>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-extended/redis/redis/redis.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-extended/redis/redis/redis.service b/meta-oe/recipes-extended/redis/redis/redis.service
index 577bb14..36d2985 100644
--- a/meta-oe/recipes-extended/redis/redis/redis.service
+++ b/meta-oe/recipes-extended/redis/redis/redis.service
@@ -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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list