[Unit] Description=Restart networking services if internet connection not detected After=network-online.target [Service] Type=oneshot ExecStart=/usr/bin/rnetworking TimeoutStopSec=180 KillMode=process KillSignal=SIGINT [Install] WantedBy=multi-user.target