diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-12-14 10:06:02 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-12-14 10:06:02 +0100 |
commit | 09b9cadf0ca1b2b386e1c7af569595c27888e661 (patch) | |
tree | f989b1e3e3e53c83c1024763565fd26e95b00348 /redis.spec | |
parent | 7ec0ffaaae344e278a7f4f483c712ff7b5be4340 (diff) |
redis: add /etc/security/limits.d/95-redis.conf (for EL <= 6)
Diffstat (limited to 'redis.spec')
-rw-r--r-- | redis.spec | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -31,7 +31,8 @@ Source4: %{name}.tmpfiles Source5: %{name}-sentinel.init Source6: %{name}-sentinel.service Source7: %{name}-shutdown -Source8: %{name}-limit +Source8: %{name}-limit-systemd +Source9: %{name}-limit-init # Update configuration for Fedora Patch0: 0001-redis-2.8.18-redis-conf.patch @@ -127,6 +128,7 @@ install -p -D -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/systemd/system/%{name %else install -p -D -m 755 %{SOURCE2} %{buildroot}%{_initrddir}/%{name} install -p -D -m 755 %{SOURCE5} %{buildroot}%{_initrddir}/%{name}-sentinel +install -p -D -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/security/limits.d/95-%{name}.conf %endif # Fix non-standard-executable-perm error @@ -229,6 +231,7 @@ fi %else %{_initrddir}/%{name} %{_initrddir}/%{name}-sentinel +%config(noreplace) %{_sysconfdir}/security/limits.d/95-%{name}.conf %endif @@ -236,6 +239,7 @@ fi * 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 + or /etc/security/limits.d/95-redis.conf * Thu Dec 4 2014 Remi Collet <remi@fedoraproject.org> - 2.8.18-1.1 - EL-5 rebuild with upstream patch |