diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-12-13 10:27:13 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-12-13 10:27:13 +0100 |
commit | 7ec0ffaaae344e278a7f4f483c712ff7b5be4340 (patch) | |
tree | 9254c455243f70eb2afe7f0e5483681fe5e27b5f | |
parent | a355b24ed1756ab91ce171463a4afdb8737ebbbc (diff) |
redis: also provides /etc/systemd/system/redis-sentinel.service.d/limit.conf
-rw-r--r-- | redis-limit | 4 | ||||
-rw-r--r-- | redis.spec | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/redis-limit b/redis-limit index 969d6e8..8003c2f 100644 --- a/redis-limit +++ b/redis-limit @@ -1,6 +1,6 @@ # If you need to change max open file limit -# for example, when you change maxclient in redis.conf -# you can change the LimitNOFILE above value +# for example, when you change maxclient in configuration +# you can change the LimitNOFILE value below # see "man systemd.exec" for information [Service] @@ -122,6 +122,7 @@ install -p -D -m 644 %{SOURCE4} %{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.co %if %{with_systemdmax} # this folder requires systemd >= 204 install -p -D -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/systemd/system/%{name}.service.d/limit.conf +install -p -D -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/systemd/system/%{name}-sentinel.service.d/limit.conf %endif %else install -p -D -m 755 %{SOURCE2} %{buildroot}%{_initrddir}/%{name} @@ -222,6 +223,8 @@ fi %if %{with_systemdmax} %dir %{_sysconfdir}/systemd/system/%{name}.service.d %config(noreplace) %{_sysconfdir}/systemd/system/%{name}.service.d/limit.conf +%dir %{_sysconfdir}/systemd/system/%{name}-sentinel.service.d +%config(noreplace) %{_sysconfdir}/systemd/system/%{name}-sentinel.service.d/limit.conf %endif %else %{_initrddir}/%{name} @@ -232,6 +235,7 @@ fi %changelog * Sat Dec 13 2014 Remi Collet <remi@fedoraproject.org> - 2.8.18-2 - provides /etc/systemd/system/redis.service.d/limit.conf + and /etc/systemd/system/redis-sentinel.service.d/limit.conf * Thu Dec 4 2014 Remi Collet <remi@fedoraproject.org> - 2.8.18-1.1 - EL-5 rebuild with upstream patch |