-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Please allow setting datadir. #329
Comments
Additionally, the app might benefit from a -datadir or similar argument, and the config file would then also have this. This avoids the need to have the systemd file set the workingdir which is not the most standard way of defining where the data goes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The alfis application currently stores the data in 'workingdir' (
pwd
), which is a bit unusual for apps that don't have a manual safe.I would like to suggest that you instead use the XDG directory spec for storing stuff.
Which basically means to use either the env-var
XDG_DATA_HOME
, or if that is unset use~/.local/share
as a basedir. Appended with/alfis/blockchain.db
.The text was updated successfully, but these errors were encountered: