mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-24 07:04:18 +01:00
remove electrs. service installation as it is a duplicate
This commit is contained in:
@@ -83,36 +83,6 @@ RestartSec=60
|
||||
|
||||
sudo systemctl enable certbot.timer
|
||||
|
||||
echo ""
|
||||
echo "***"
|
||||
echo "Type the PASSWORD B of your RaspiBlitz followed by [ENTER] for the electrs service:"
|
||||
read PASSWORD_B
|
||||
|
||||
# sudo nano /etc/systemd/system/electrs.service
|
||||
echo "
|
||||
[Unit]
|
||||
Description=Electrs
|
||||
After=bitcoind.service
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/home/admin/electrs
|
||||
ExecStart=/home/admin/electrs/target/release/electrs --index-batch-size=10 --jsonrpc-import --db-dir /mnt/hdd/electrs/db --electrum-rpc-addr="0.0.0.0:50001" --cookie="raspibolt:$PASSWORD_B"
|
||||
|
||||
User=admin
|
||||
Group=admin
|
||||
Type=simple
|
||||
KillMode=process
|
||||
TimeoutSec=60
|
||||
Restart=always
|
||||
RestartSec=60
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
" | sudo tee -a /etc/systemd/system/electrs.service
|
||||
|
||||
sudo systemctl enable electrs
|
||||
sudo systemctl start electrs
|
||||
|
||||
echo ""
|
||||
echo "***"
|
||||
echo "Please type the domain/ddns you have generated the certificate for followed by [ENTER]"
|
||||
|
||||
Reference in New Issue
Block a user