[oe-commits] [meta-openembedded] 10/70: 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:00:57 UTC 2016


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

commit 7acbf0788e332a243cdff0e90cac4dcace847368
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