move dump.rdb from / to /var/lib/redis/ [release 2.8.13-2mamba;Sat Jul 26 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 17:24:01 +01:00
parent b1f6da707c
commit 787cbff499
2 changed files with 7 additions and 1 deletions

View File

@ -4,6 +4,7 @@ After=network.target
[Service] [Service]
Type=simple Type=simple
WorkingDirectory=/var/lib/redis
ExecStart=/usr/bin/redis-server /etc/redis.conf ExecStart=/usr/bin/redis-server /etc/redis.conf
ExecStop=/bin/kill -15 $MAINPID ExecStop=/bin/kill -15 $MAINPID
PIDFile=/var/run/redis.pid PIDFile=/var/run/redis.pid

View File

@ -1,6 +1,6 @@
Name: redis Name: redis
Version: 2.8.13 Version: 2.8.13
Release: 1mamba Release: 2mamba
Summary: An open source, BSD licensed, advanced key-value store Summary: An open source, BSD licensed, advanced key-value store
Group: System/Database Group: System/Database
Vendor: openmamba Vendor: openmamba
@ -35,6 +35,7 @@ Redis is an open source, BSD licensed, advanced key-value store. It is often ref
install -D -m0644 redis.conf %{buildroot}%{_sysconfdir}/redis.conf install -D -m0644 redis.conf %{buildroot}%{_sysconfdir}/redis.conf
install -D -m0644 sentinel.conf %{buildroot}%{_sysconfdir}/sentinel.conf install -D -m0644 sentinel.conf %{buildroot}%{_sysconfdir}/sentinel.conf
install -D -m0644 %{SOURCE1} %{buildroot}/lib/systemd/system/redis.service install -D -m0644 %{SOURCE1} %{buildroot}/lib/systemd/system/redis.service
install -d %{buildroot}%{_localstatedir}/lib/redis
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -70,9 +71,13 @@ fi
%{_bindir}/redis-cli %{_bindir}/redis-cli
%{_bindir}/redis-server %{_bindir}/redis-server
/lib/systemd/system/redis.service /lib/systemd/system/redis.service
%dir %{_localstatedir}/lib/redis
%doc COPYING %doc COPYING
%changelog %changelog
* Sat Jul 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.13-2mamba
- move dump.rdb from / to /var/lib/redis/
* Tue Jul 15 2014 Automatic Build System <autodist@mambasoft.it> 2.8.13-1mamba * Tue Jul 15 2014 Automatic Build System <autodist@mambasoft.it> 2.8.13-1mamba
- automatic version update by autodist - automatic version update by autodist