Thank you, Aaron! nginx.service Wants=network-online.target After=network-online.target remote-fs.target nss-lookup.target systemd-networkd-wait-online.service ExecStart=/usr/lib/systemd/systemd-networkd-wait-online -i enp3s0 -i wlp2s0 --any --timeout=30 3 reboots one after another without errors in nginx log.