theonionbox icon indicating copy to clipboard operation
theonionbox copied to clipboard

Feature request: Persist data in /var/db/

Open rainlance opened this issue 6 years ago • 3 comments

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

Thank you for supporting FreeBSD in The Onion Box !!

rainlance avatar Aug 14 '18 21:08 rainlance

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].

ralphwetzel avatar Aug 14 '18 21:08 ralphwetzel

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

rainlance avatar Aug 18 '18 20:08 rainlance

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

ralphwetzel avatar Aug 19 '18 09:08 ralphwetzel