redis.service: Service type=simple, matches config.

Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>
This commit is contained in:
Fabian Deutsch 2012-02-01 09:03:32 +01:00
parent e8dff38f7b
commit 10e5c68666
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,6 @@ Description=A persistent key-value database
After=syslog.target network.target
[Service]
Type=forking
PIDFile=/var/run/redis/redis.pid
ExecStart=/usr/sbin/redis-server /etc/redis.conf
User=redis

View File

@ -8,7 +8,7 @@
Name: redis
Version: 2.4.6
Release: 2%{?dist}
Release: 3%{?Dist}
Summary: A persistent key-value database
Group: Applications/Databases
@ -114,6 +114,9 @@ fi
%{_unitdir}/%{name}.service
%changelog
* Tue Jan 31 2012 Fabian Deutsch <fabiand@fedoraproject.org> - 2.4.6-3
- Fix .service file, to match config (Type=simple).
* Tue Jan 31 2012 Fabian Deutsch <fabiand@fedoraproject.org> - 2.4.6-2
- Fix .service file, credits go to Timon.