summaryrefslogtreecommitdiffstats
path: root/redis.service
diff options
context:
space:
mode:
Diffstat (limited to 'redis.service')
-rw-r--r--redis.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/redis.service b/redis.service
index 94ef85b..a577c83 100644
--- a/redis.service
+++ b/redis.service
@@ -1,10 +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
-ExecStop=/usr/libexec/redis-shutdown
+ExecStart=/usr/bin/redis-server /etc/redis/redis.conf --daemonize no --supervised systemd
Type=notify
User=redis
Group=redis