1

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
  • 824
  • 7
  • 14
Franklin Foko
  • 11
  • 1
  • 1
  • 2

1 Answers1

1

The correct command is

$ sudo systemctl restart systemd-networkd

The service is called systemd-networkd, not networking.

cocomac
  • 3,394