From 10e5c68666a2a174a5fe56e126d0dc8e4b205dd9 Mon Sep 17 00:00:00 2001 From: Fabian Deutsch Date: Wed, 1 Feb 2012 09:03:32 +0100 Subject: [PATCH] redis.service: Service type=simple, matches config. Signed-off-by: Fabian Deutsch --- redis.service | 1 - redis.spec | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/redis.service b/redis.service index f1322f6..f6dc44e 100644 --- a/redis.service +++ b/redis.service @@ -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 diff --git a/redis.spec b/redis.spec index 5d82f49..06c4f7a 100644 --- a/redis.spec +++ b/redis.spec @@ -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 - 2.4.6-3 +- Fix .service file, to match config (Type=simple). + * Tue Jan 31 2012 Fabian Deutsch - 2.4.6-2 - Fix .service file, credits go to Timon.