sbws should allow a configuration file argument
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.