summaryrefslogtreecommitdiffstats
path: root/redis.service
diff options
context:
space:
mode:
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