[Unit] Description=Network Manager Wait Online Requisite=NetworkManager.service After=NetworkManager.service Wants=network.target Before=network.target network-online.target [Service] Type=oneshot ExecStart=/usr/bin/nm-online -q --timeout=30 [Install] WantedBy=multi-user.target