After some googling, I realized that the default data directory is /var/lib/tor which is in RAM, hence is volatile.
Editing torrc and pointing DataDirectory to places such as /etc/tor or /mnt/sda1/tor doesn't seem to work.
Any help and guidance would be much appreciated.
Check Tor logs for specific error messages.
Thanks for the prompt reply. In both cases tor simply won't run and the log showed "tor::instance1 s in a crash loop 6 crashes, 0 seconds since last crash"
edit, my torrc
RelayBandwidthRate 500 KBytes
RelayBandwidthBurst 1000 KBytes
Log notice syslog
ExitPolicy reject :
DataDirectory /etc/tor/keys #with keys being a link to /mnt/sda1/tor
ContactInfo Random Person
It seems you need the proper permissions/ownership:
chmod go=rX /mnt/sda1
chown -R tor:tor /mnt/sda1/tor
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.