spesmilo / electrumx

Alternative implementation of spesmilo/electrum-server
MIT License
429 stars 343 forks source link

Update electrumx.service #250

Open ArmanTheParman opened 4 months ago

ArmanTheParman commented 4 months ago

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

SomberNight commented 4 months ago

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

ArmanTheParman commented 4 months ago

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 commented 4 months ago

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

ArmanTheParman commented 4 months ago

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 commented 4 months ago

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