summarylogtreecommitdiffstats
path: root/electrs.service
blob: 2712808045b37a88ce341d58baea90e20d423ff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Electrum Rust Server
Requires=bitcoind.service
After=bitcoind.service

[Service]
Type=simple
User=bitcoin
Group=bitcoin
WorkingDirectory=/var/lib/electrs
ExecStart=/usr/bin/electrs --log-filters INFO --db-dir ./db --daemon-dir=/var/lib/bitcoind
KillMode=process
TimeoutSec=60
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target