Installed on Ubuntu 16.04 from Torproject (Xenial) repository. In the torrc config file - 'RunAsDaemon 1' is un-commented.
The log file shows 'Catching signal TERM, exiting cleanly' as the last event. Examining the tor service status shows 'active (exited)'.
I can only invoke tor as 'sudo' on the command line.
Commenting out RunAsDaemon and reboot results in the same. Additionally, nothing new is appended to the log file. I have also invoked #service tor start.
As what was happening to me was not making much sense, I elected to go for a re-build. I then re-read the instructions, specifically:
- Edit torcc config file - leave daemon line commented out and make necessary changes for a relay
- (root) service tor reload
- Inspect the log file - /var/log/tor/log
Thanks in advance,