mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-22 16:10:55 +02:00
Merge pull request #10 from 21isenough/raspiblitz-dev
Change the type of the bootstrap.service Add PublicIP to the lnd.service
This commit is contained in:
@@ -8,10 +8,10 @@ After=network.target
|
|||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=root
|
||||||
Group=root
|
Group=root
|
||||||
Type=oneshot
|
Type=simple
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
ExecStart=/home/admin/_bootstrap.sh
|
ExecStart=/home/admin/_bootstrap.sh
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@@ -10,7 +10,7 @@ After=bitcoind.service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=
|
EnvironmentFile=
|
||||||
ExecStart=/usr/local/bin/lnd
|
ExecStart=/usr/local/bin/lnd --externalip=${publicIP}
|
||||||
PIDFile=/home/bitcoin/.lnd/lnd.pid
|
PIDFile=/home/bitcoin/.lnd/lnd.pid
|
||||||
User=bitcoin
|
User=bitcoin
|
||||||
Group=bitcoin
|
Group=bitcoin
|
||||||
@@ -22,4 +22,4 @@ Restart=always
|
|||||||
RestartSec=60
|
RestartSec=60
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Reference in New Issue
Block a user