electrumx icon indicating copy to clipboard operation
electrumx copied to clipboard

Update electrumx.service

Open ArmanTheParman opened this issue 1 year ago • 5 comments

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

ArmanTheParman avatar Feb 16 '24 16:02 ArmanTheParman

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

SomberNight avatar Feb 16 '24 16:02 SomberNight

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.

ArmanTheParman avatar Feb 16 '24 18:02 ArmanTheParman

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

cipig avatar Feb 16 '24 18:02 cipig

It could be because I was trying all sorts of solutions to get rocksdb installed with python (failed over and over). I'll do a clean up and try again.

On Sat, 17 Feb 2024, 5:08 am cipig, @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/spesmilo/electrumx/pull/250#issuecomment-1949013641, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASQCCX6I25XX3EEH4UW7NHLYT6OCPAVCNFSM6AAAAABDMIP4PKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZGAYTGNRUGE . You are receiving this because you authored the thread.Message ID: @.***>

ArmanTheParman avatar Feb 17 '24 18:02 ArmanTheParman

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

ArmanTheParman avatar Feb 18 '24 04:02 ArmanTheParman