Skip to content
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

Update electrumx.service #250

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ArmanTheParman
Copy link

which electrum_server and electrum_rpc locates file to $USER/.local/bin/ directory
service file fails otherwise.

which electrum_server and electrum_rpc locates file to
$USER/.local/bin/ directory
service files fails otherwise.
@SomberNight
Copy link
Member

I guess it depends on how you install electrumx.
e.g. $ pip install . vs $ pip install --user .

@ArmanTheParman
Copy link
Author

ArmanTheParman commented Feb 16, 2024

Oh, right.
Maybe I'll add a comment to say that, so the user knows/learns, as I just did.

The instructions I read here didn't say to include "--user" as far as I recall. I'll dig more tomorrow.

@cipig
Copy link
Contributor

cipig commented Feb 16, 2024

sudo pip3 install . installs the binaries in /usr/local/bin

@ArmanTheParman
Copy link
Author

ArmanTheParman commented Feb 17, 2024 via email

@ArmanTheParman
Copy link
Author

sudo pip3 install . installs the binaries in /usr/local/bin

You're absolutely right, but the instructions in readthedocs.io do not indicate 'sudo'.
Without sudo, pip and pip3 installs to $HOME/.local/bin
With sudo it installs to /usr/local/bin

I suggest either the documentation should be adjusted, or the service file should reflect the results of following the documentation.

Screen Shot 2024-02-18 at 3 02 37 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants