move dump.rdb from / to /var/lib/redis/ [release 2.8.13-2mamba;Sat Jul 26 2014]
This commit is contained in:
parent
b1f6da707c
commit
787cbff499
@ -4,6 +4,7 @@ After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/var/lib/redis
|
||||
ExecStart=/usr/bin/redis-server /etc/redis.conf
|
||||
ExecStop=/bin/kill -15 $MAINPID
|
||||
PIDFile=/var/run/redis.pid
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: redis
|
||||
Version: 2.8.13
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: An open source, BSD licensed, advanced key-value store
|
||||
Group: System/Database
|
||||
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 sentinel.conf %{buildroot}%{_sysconfdir}/sentinel.conf
|
||||
install -D -m0644 %{SOURCE1} %{buildroot}/lib/systemd/system/redis.service
|
||||
install -d %{buildroot}%{_localstatedir}/lib/redis
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -70,9 +71,13 @@ fi
|
||||
%{_bindir}/redis-cli
|
||||
%{_bindir}/redis-server
|
||||
/lib/systemd/system/redis.service
|
||||
%dir %{_localstatedir}/lib/redis
|
||||
%doc COPYING
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user