Commit Graph

14 Commits

Author SHA1 Message Date
Nathan Scott c374de3637 Incorporate recent feedback from Haikel and Remi
Add "--supervised systemd" to the command line, and
drop the "--daemonize" option as Redis already does
this internally in supervised mode.

Add Provides:bundled spec file lines for linenoise,
lua-libs and hiredis.
2017-09-07 16:39:14 +10:00
Nathan Scott dc361d6b75 Switch to systemd service Type=notify for Redis
Enable the systemd supervision support in redis
configuration files and update the service type
in the systemd service file to enable its use.

This resolves RHBZ #1172841.
2017-08-28 16:06:15 +10:00
Nathan Scott cf49c6bbe9 Upstream 3.2.10 release
Ensure both the redis and redis-sentinel service files set correct perms.
Dropped systemd tmpfiles source, handled directly in systemd service files.
2017-08-14 12:11:34 +10:00
Haikel Guemar 4f1d5f156d Upstream 3.2.9
Add RuntimeDirectory=redis to systemd unit file (RHBZ #1454700)
Mark rundir as %ghost since it may disappear (tmpfs - #1454700)
Fix a shutdown failure with Unix domain sockets (RHBZ #1444988)

Patch contributed by Nathan Scott
2017-06-23 15:02:15 +02:00
Remi Collet 83364f086c move redis-shutdown to libexec 2016-09-14 10:48:19 +02:00
Haikel Guemar 0df073751a Revert "SPEC cleanup"
This reverts commit 1bb2f79e98.

Not very useful, and makes spec even less readable
2015-10-16 17:50:15 +02:00
Christopher Meng 1bb2f79e98 SPEC cleanup 2015-08-31 17:41:30 +08:00
Haïkel Guémar bfae9dba22 Cleanup spec
Fix shutdown for redis-{server,sentinel}
Backport fixes from Remi Collet repository
Drop unused patch
2014-09-11 23:34:18 +02:00
Haïkel Guémar b25082a3ce Upstream 2.8.14
backport spec from EPEL7 (thanks Warren)
2014-09-11 17:08:56 +02:00
Christopher Meng dde8ff44ac Update to 2.8.11;
Major SPEC rewrite;
Compiler flags conformed to the guideline;
Patches refreshed;
Remove obsoleted syslog.target in systemd units;
Add ExecStartPre to units to ensure tmpdirs are available before start;
Add new systemd+sysv files for redis-sentinel;
Use jemalloc instead of tcmalloc as memory allocator;
Tests enabled(not verified in Koji yet);
More stricted directory permissions;
Move back %_sbindir binaries;
Use redis-prefix for some files;
2014-06-19 14:21:29 +08:00
Fabian Deutsch 9b1da96872 Drop PIDFile line from .service
Redis is not running as a daemon and so it is not creatnig a pidfile -
thus we need to remove the reference in the .service file.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=973151
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
2013-09-06 11:28:19 +02:00
Fabian Deutsch 10e5c68666 redis.service: Service type=simple, matches config.
Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>
2012-02-01 09:04:45 +01:00
Fabian Deutsch e8dff38f7b redis.service: Fix config and user/group. Ta Timon.
Points redis-server to the appropriate config and runs the server as
redis:redis. Thanks Timon.

Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>
2012-01-31 15:51:59 +01:00
Fabian Deutsch ad0d775a93 Update to 2.4.6 and introduce systemd unit.
Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>
2012-01-13 09:11:10 +01:00