mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 07:07:46 +01:00
removed old tor files
This commit is contained in:
parent
8f311cb693
commit
926390296d
2 changed files with 0 additions and 36 deletions
|
@ -1,25 +0,0 @@
|
|||
# RaspiBlitz: systemd unit for lnd
|
||||
|
||||
[Unit]
|
||||
Description=LND Lightning Daemon
|
||||
Wants=bitcoind.service
|
||||
After=bitcoind.service
|
||||
|
||||
# for use with sendmail alert
|
||||
#OnFailure=systemd-sendmail@%n
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/mnt/hdd/raspiblitz.conf
|
||||
ExecStart=/usr/local/bin/lnd --tor.active --tor.v2 --listen=127.0.0.1:9735
|
||||
PIDFile=/home/bitcoin/.lnd/lnd.pid
|
||||
User=bitcoin
|
||||
Group=bitcoin
|
||||
LimitNOFILE=128000
|
||||
Type=simple
|
||||
KillMode=process
|
||||
TimeoutSec=180
|
||||
Restart=always
|
||||
RestartSec=60
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -219,12 +219,6 @@ EOF
|
|||
echo "Make sutre LND is disabled"
|
||||
sudo systemctl disable lnd 2>/dev/null
|
||||
|
||||
#echo "Configure and Changing to lnd.tor.service"
|
||||
#sed -i "5s/.*/Wants=${network}d.service/" ./assets/lnd.tor.service
|
||||
#sed -i "6s/.*/After=${network}d.service/" ./assets/lnd.tor.service
|
||||
#sudo cp /home/admin/assets/lnd.tor.service /etc/systemd/system/lnd.service
|
||||
#sudo chmod +x /etc/systemd/system/lnd.service
|
||||
|
||||
echo "editing /etc/systemd/system/lnd.service"
|
||||
sudo sed -i "s/^ExecStart=\/usr\/local\/bin\/lnd.*/ExecStart=\/usr\/local\/bin\/lnd --tor\.active --tor\.v2 --listen=127\.0\.0\.1\:9735/g" /etc/systemd/system/lnd.service
|
||||
|
||||
|
@ -259,11 +253,6 @@ if [ "$1" = "0" ] || [ "$1" = "off" ]; then
|
|||
echo "*** Removing TOR from LND ***"
|
||||
sudo systemctl disable lnd
|
||||
|
||||
#sed -i "5s/.*/Wants=${network}d.service/" ./assets/lnd.service
|
||||
#sed -i "6s/.*/After=${network}d.service/" ./assets/lnd.service
|
||||
#sudo cp /home/admin/assets/lnd.service /etc/systemd/system/lnd.service
|
||||
#sudo chmod +x /etc/systemd/system/lnd.service
|
||||
|
||||
echo "editing /etc/systemd/system/lnd.service"
|
||||
sudo sed -i "s/^ExecStart=\/usr\/local\/bin\/lnd.*/ExecStart=\/usr\/local\/bin\/lnd --externalip=\${publicIP}/g" /etc/systemd/system/lnd.service
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue