Post
Topic
Board Electrum
Re: [Questions] Running my own electrum server
by
ETFbitcoin
on 24/04/2021, 11:24:03 UTC
Since it creates its own index, is there a reason why I should “carry” the entire blockchain?
It builds the index from the bitcoind blockchain, hence why you need it.


I don't think you can use systemd with WSL... you can however use it with WSL2: https://gist.github.com/djfdyuruiry/6720faa3f9fc59bfdf6284ee1f41f950

note that systemd is not entirely necessary to use ElectrumX... it's just a method for setting it up as a background service and autostart etc. You should be able to just "run" ElectrumX assuming you have the config etc setup correctly.

Exactly. If you want simple setup, you can use cronjob to ensure electrumx run after boot. If you don't know how to do it, you just need to run command crontab -e and add this line after crontab open the text editor

Code:
@reboot /path/to/electrumx/executable

And if you want to stop the process, you can use kill command and send SIGINT command.

Code:
kill -2 [PID of electrumx]