Opened 13 months ago

Closed 13 months ago

Last modified 9 months ago

#26862 closed defect (implemented)

sbws should allow a configuration file argument

Reported by: juga Owned by: juga
Priority: Medium Milestone: sbws: 1.0.x-final
Component: Core Tor/sbws Version:
Severity: Normal Keywords: sbws-1.0-must-closed-moved-20181128
Cc: pastly, juga, teor, juga@… Actual Points:
Parent ID: #26848 Points:
Reviewer: Sponsor:

Description

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.

Child Tickets

Change History (3)

comment:1 Changed 13 months ago by juga

Status: assignedneeds_review

comment:2 Changed 13 months ago by pastly

Resolution: implemented
Status: needs_reviewclosed

comment:3 Changed 9 months ago by teor

Keywords: sbws-1.0-must-closed-moved-20181128 added
Milestone: sbws 1.0 (MVP must)sbws: 1.0.x-final

Move all closed sbws 1.0 must tickets to sbws 1.0.x-final

Note: See TracTickets for help on using tickets.