summaryrefslogtreecommitdiffstats
path: root/redis-sentinel.service
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-06-19 12:12:59 +0200
committerRemi Collet <remi@php.net>2025-06-19 12:12:59 +0200
commit6326310b3ba8fcc072d95551e969a9b2dc1db3bd (patch)
tree77491406c6aa6eb410f02a7eab546c1fe6c2a5d6 /redis-sentinel.service
parentc56e7a07a863fb699f9c61a885826dcb2bd6d89b (diff)
remove limit.conf config filesHEADmaster
Diffstat (limited to 'redis-sentinel.service')
-rw-r--r--redis-sentinel.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/redis-sentinel.service b/redis-sentinel.service
index 0bcc990..ffb748a 100644
--- a/redis-sentinel.service
+++ b/redis-sentinel.service
@@ -12,6 +12,19 @@ Group=redis
RuntimeDirectory=redis
RuntimeDirectoryMode=0755
+# If you need to change max open file limit
+# for example, when you change maxclient in configuration
+# you can change the LimitNOFILE value below.
+# See "man systemd.exec" for more information.
+LimitNOFILE=10240
+
+# Slave nodes on large system may take lot of time to start.
+# You may need to uncomment TimeoutStartSec and TimeoutStopSec
+# directives below and raise their value.
+# See "man systemd.service" for more information.
+#TimeoutStartSec=90s
+#TimeoutStopSec=90s
+
[Install]
WantedBy=multi-user.target