-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configurable certificate directory #585
Comments
Such a setting would be useful for an operator? I can see where it would help if you were running a testnet site from the same machine, is that where you are coming from? |
Yeah the usefulness we're talking about here is probably really mild. But I think it's wise to run dcrstakepool as a user with restricted permissions (and a false shell like
Another consideration is if this software is ever distributed via a package manager, where it would be useful to configure any of the necessary paths. A single --homedir fits nicely in that case. For reference, I think politeia uses a homedir variable. |
Sounds like good reasons to me. @jholdstock any thoughts? |
dcrstakepool doesn't have a data directory (#502), and as a side effect will always create and use a
.dcrstakepool
directory under the user's home directory. This is where the daemon expects stakepoold certificates to exist. Several path config variables already exist for other resources:--publicpath
,--templatepath
, and--configfile
. Perhaps a--certpath
option is in order?An alternative to setting all of these separate path variables (when not using
~/.dcrstakepool
) would be a home directory option that is comparable to the deprecated--appdata
. Maybe--homedir
?The text was updated successfully, but these errors were encountered: