[tor-relays] Delete keys on reboot

grarpamp grarpamp at gmail.com
Thu Apr 23 17:39:07 UTC 2015


On Thu, Apr 23, 2015 at 12:56 AM, CJ Barlow <iamthechong at gmail.com> wrote:
> rm -f /var/lib/tor/keys/* 2>&1 >> /home/[me]/reboot.txt

This dupes stderr to stdout first which is still your screen, -f
squelches various errors,
and rm doesn't emit any stdout unless some option like -v. So nothing is logged.

> just mount the whole /var/lib/tor folder in RAM instead or is there a better

Can put all DataDirectory or HiddenServiceDir there. Can play with
mountpoints, symlinks, rm, or backups if you want to preserve some things.
Tor doesn't have a lot of knobs here.


More information about the tor-relays mailing list