-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
cove always assumes you're in the dist directory #5
Comments
v0.0.8 supports running cove externally. |
Ok this is released. |
Could be nice to have the option specify a separate data dir; by default something like |
Just realized this is not fixed entirely—cove still creates a bunch of data files in the working directory. I added a workaround by wrapping |
Hmm this is by design. I somewhat opinionatedly believe long running processes should store their state in the working directory otherwise what is it for? All the files produced in the working directory are cache files for now, so you could cwd to the standard for Arch using a wrapper script perhaps? I'm open to adding the flags if it becomes a blocker for correct usage, and particularly if cove starts needing a configuration file or something like that. |
Ultimately, it's your project and your call but I'm not sure what real benefit there is to breaking convention here—on both Windows and *NIX there's a standard way to store cached state that's easily available in |
Running cove from outside of the dist directory (where the binary and dht-indexer-rust.so are) does not work because it seems to assume that it is only being run in its own directory. As a result, it will create some files & folders in the working directory and will fail to launch because it can't find dht-indexer-rust.so in the working directory.
The text was updated successfully, but these errors were encountered: