Commit 8b2e1858 authored by Tomas Krizek's avatar Tomas Krizek

systemd/kresd: fix dependency on network-online.target

The missing Wants= and After= directives for network-online.target
made it possible for kresd to start before network interfaces were
properly initialized and configured with IP addresses, leading to a
failure to bind to addresses.
parent 9b072d90
Pipeline #54662 canceled with stages
in 3 minutes and 56 seconds
......@@ -4,6 +4,8 @@ Knot Resolver ??
Bugfixes
--------
- http module: use SO_REUSEPORT (!879)
- systemd: kresd@.service now properly starts after network interfaces
have been configured with IP addresses after reboot (!884)
Improvements
------------
......
......@@ -4,6 +4,8 @@ Documentation=man:kresd.systemd(7)
Documentation=man:kresd(8)
Wants=kres-cache-gc.service
Before=kres-cache-gc.service
Wants=network-online.target
After=network-online.target
[Service]
Type=notify
......
......@@ -4,6 +4,8 @@ Documentation=man:kresd.systemd.nosocket(7)
Documentation=man:kresd(8)
Wants=kres-cache-gc.service
Before=kres-cache-gc.service
Wants=network-online.target
After=network-online.target
[Service]
Type=notify
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment