Accepting request 894866 from home:jengelh:branches:server:database

- Move sysctl file to /usr/lib/sysctl.d, so that it can be
  overridden by an admin in /etc.

OBS-URL: https://build.opensuse.org/request/show/894866
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=179
This commit is contained in:
Martin Pluskal 2021-05-24 07:34:37 +00:00 committed by Git OBS Bridge
parent 34ca9d1956
commit 02b5d6b1f0
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 21 20:30:15 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Move sysctl file to /usr/lib/sysctl.d, so that it can be
overridden by an admin in /etc.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 4 06:23:15 UTC 2021 - Michael Ströder <michael@stroeder.com> Tue May 4 06:23:15 UTC 2021 - Michael Ströder <michael@stroeder.com>

View File

@ -99,7 +99,7 @@ install -Dpm0640 redis.conf %{buildroot}%{_conf_dir}/default.conf.ex
install -Dpm0660 sentinel.conf %{buildroot}%{_conf_dir}/sentinel.conf.example install -Dpm0660 sentinel.conf %{buildroot}%{_conf_dir}/sentinel.conf.example
# some sysctl stuff # some sysctl stuff
install -Dpm0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysctl.d/00-%{name}.conf install -Dpm0644 %{SOURCE6} %{buildroot}/%{_prefix}/lib/sysctl.d/00-%{name}.conf
install -Dpm0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name} install -Dpm0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
install -Dpm0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.target install -Dpm0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.target
install -Dpm0644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}@.service install -Dpm0644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}@.service
@ -141,7 +141,7 @@ echo "See %{_docdir}/%{name}/README.SUSE to continue"
%license COPYING %license COPYING
%doc 00-RELEASENOTES BUGS CONTRIBUTING README.md %doc 00-RELEASENOTES BUGS CONTRIBUTING README.md
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%config(noreplace) %{_sysconfdir}/sysctl.d/00-%{name}.conf %{_prefix}/lib/sysctl.d/00-%{name}.conf
%{_bindir}/%{name}-* %{_bindir}/%{name}-*
%{_sbindir}/%{name}-* %{_sbindir}/%{name}-*
%{_sbindir}/rc%{name} %{_sbindir}/rc%{name}