ralphwetzel / theonionbox

Dashboard to monitor Tor node operations
MIT License
121 stars 17 forks source link

Feature request: Persist data in /var/db/ #60

Open rainlance opened 5 years ago

rainlance commented 5 years ago

Feature request: *BSD systems should persisted data as '/var/db/theonionbox' instead of using /tmp/.

Thank you for supporting FreeBSD in The Onion Box !!

ralphwetzel commented 5 years ago

Persisting data to /tmp/ is just the fallback option. This data will be erased by intention at system start.

You should define the path for the persistance database according to your needs via the configuration file. Please refer to parameter persistance_dir in section [TheOnionBox].

rainlance commented 5 years ago

Would it be possible to add persistance_dir as a command line option?

ralphwetzel commented 5 years ago

What is - from your perspective - an advantage to define persistance_dir via the command line, rather than within the config file?