When I tried to create a .onion service by modifying the torrc file, nothing happened. I mean nothing. The official website says that if tor is not starting then there is a problem. Well tor is starting and there isn't any information in the embedded logs about an error. When I enabled saving logs in the torrc file, nothing changed. No logs were generated in /var/log/tor. Any help?
You can set up a hidden service by following the instructions at https://community.torproject.org/onion-services/setup/ The command to restart tor after changing torrc is
sudo systemctl restart tor