Followed a tutorial for setting my hosts and hostname file. When I go to service hostname restart
I get error:
Failed to restart hostname.service: Unit hostname.service not found.
My hosts file is set up like this:
127.0.0.1 localhost
127.0.1.1 bobsrevenge.com bob
My hostname file is like this:
bob
127.0.1.1 bob.bobsrevenge.com bob
?