[tor-bugs] #26862 [Core Tor/sbws]: sbws should allow a configuration file argument
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Jul 18 20:26:38 UTC 2018
#26862: sbws should allow a configuration file argument
-------------------------------+---------------------------------
Reporter: juga | Owner: juga
Type: defect | Status: assigned
Priority: Medium | Milestone: sbws 1.0 (MVP must)
Component: Core Tor/sbws | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID: #26848
Points: | Reviewer:
Sponsor: |
-------------------------------+---------------------------------
It's common that programs run with a default configuration and allow a to
be launched with a custom configuration file.
sbws has an argument to specify an alternative directory but not an
alternative config file.
It's also common that programs initialize required directories or user
configuration files when they are first run without requiring the user to
run an extra command.
The user configuration file should also not be inside the data directory,
otherwise it is an egg-chicken problem
This also makes easier to have a program that can be run as a user with
user configuration file (ie `.sbws.ini`) and as a system service with
system configuration file (ie `/etc/sbws/config.ini`).
And makes the software simpler and easier to maintain.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26862>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list