diff options
author | Remi Collet <remi@remirepo.net> | 2020-11-23 13:56:48 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-11-23 13:56:48 +0100 |
commit | 556f27c393f76c1f215e5f426145608ebd9b77ca (patch) | |
tree | b06b4fa0adbc7b7549ec8eebfcd166bbedb10067 /redis.service | |
parent | 70ef0b40a559570e9588c7b22933a1f60625afe5 (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.service | 4 |
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 |