summarylogtreecommitdiffstats
path: root/electrumx.service
blob: 7881eb8653b5ca7f94a1ada5693fc9687e829088 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=ElectrumX Server
Wants=bitcoind.service
After=network.target bitcoind.service

[Service]
EnvironmentFile=/etc/electrumx/electrumx.conf
ExecStart=/usr/bin/electrumx-server
ExecReload=/usr/bin/kill -s SIGHUP $MAINPID
ExecStop=/usr/bin/electrumx-rpc -p 8000 stop
User=electrumx
Group=electrumx
LimitNOFILE=infinity
TimeoutStopSec=30min

[Install]
WantedBy=multi-user.target