torproject / nyx

Command-line monitor for Tor.
https://nyx.torproject.org/
GNU General Public License v3.0
123 stars 26 forks source link

Does Nyx modify/remove/add any files to /var/lib/tor? #54

Closed Jayto1 closed 2 years ago

Jayto1 commented 2 years ago

I'm curious if a relay with nyx would have the same /var/lib/tor directory as one without nyx? So my question is does nyx interact with this directory at all? Thanks!

atagar commented 2 years ago

Hi Jayto. Generally speaking no, nyx does not modify that directory. However, it contains some features that can do so. For example, if you edit your tor configuration (page 3 of the interface) then save that issues a SAVECONF command to tor which writes a new torrc. If your torrc is in /var/lib/tor then it would have the effect of writing there.

Feel free to reopen if you have any other questions.

Jayto1 commented 2 years ago

@atagar Thanks for your response! So if I wanna backup my relays /var/lib/tor/keys directory should I do so before or after I install nyx or should it not make a difference? Thanks again.

atagar commented 2 years ago

Nothing in Nyx interacts with the keys subdirectory so it shouldn't matter.