diff --git a/utils/systemd-redis_server.service b/utils/systemd-redis_server.service index addee349853..cf158644ae0 100644 --- a/utils/systemd-redis_server.service +++ b/utils/systemd-redis_server.service @@ -20,6 +20,8 @@ Description=Redis data structure server Documentation=https://redis.io/documentation #Before=your_application.service another_example_application.service #AssertPathExists=/var/lib/redis +Wants=network-online.target +After=network-online.target [Service] ExecStart=/usr/local/bin/redis-server --supervised systemd --daemonize no