summaryrefslogtreecommitdiffstats
path: root/redis.service
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-11-23 13:56:48 +0100
committerRemi Collet <remi@remirepo.net>2020-11-23 13:56:48 +0100
commit556f27c393f76c1f215e5f426145608ebd9b77ca (patch)
treeb06b4fa0adbc7b7549ec8eebfcd166bbedb10067 /redis.service
parent70ef0b40a559570e9588c7b22933a1f60625afe5 (diff)
move configuration in /etc/redis per upstream recommendation
see https://github.com/redis/redis/issues/8051
Diffstat (limited to 'redis.service')
-rw-r--r--redis.service4
1 files changed, 3 insertions, 1 deletions
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