2

When I type:

systemctl restart networking.service

this error message show:

failed to restart networking.service: Unit networking.service not found

I use ubuntu server 20.04 LTS

Serg
  • 808

1 Answers1

2

The correct command is

$ sudo systemctl restart systemd-networkd

The service is called systemd-networkd, not networking.

cocomac
  • 3,824