From 556f27c393f76c1f215e5f426145608ebd9b77ca Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 23 Nov 2020 13:56:48 +0100 Subject: move configuration in /etc/redis per upstream recommendation see https://github.com/redis/redis/issues/8051 --- redis.service | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'redis.service') diff --git a/redis.service b/redis.service index 94ef85b..4e59720 100644 --- a/redis.service +++ b/redis.service @@ -1,9 +1,11 @@ [Unit] Description=Redis persistent key-value database After=network.target +After=network-online.target +Wants=network-online.target [Service] -ExecStart=/usr/bin/redis-server /etc/redis.conf --daemonize no --supervised systemd +ExecStart=/usr/bin/redis-server /etc/redis/redis.conf --daemonize no --supervised systemd ExecStop=/usr/libexec/redis-shutdown Type=notify User=redis -- cgit