mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-25 19:21:57 +02:00
start external from install script
This commit is contained in:
@@ -502,6 +502,7 @@ if [ "${LNBits}" != "${choice}" ]; then
|
|||||||
anychange=1
|
anychange=1
|
||||||
sudo -u admin /home/admin/config.scripts/bonus.lnbits.sh ${choice}
|
sudo -u admin /home/admin/config.scripts/bonus.lnbits.sh ${choice}
|
||||||
if [ "${choice}" = "on" ]; then
|
if [ "${choice}" = "on" ]; then
|
||||||
|
sudo systemctl start lnbits
|
||||||
sudo -u admin /home/admin/config.scripts/bonus.lnbits.sh menu
|
sudo -u admin /home/admin/config.scripts/bonus.lnbits.sh menu
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
@@ -174,8 +174,7 @@ EOF
|
|||||||
|
|
||||||
sudo mv /home/admin/lnbits.service /etc/systemd/system/lnbits.service
|
sudo mv /home/admin/lnbits.service /etc/systemd/system/lnbits.service
|
||||||
sudo systemctl enable lnbits
|
sudo systemctl enable lnbits
|
||||||
sudo systemctl start lnbits
|
echo "# OK - service needs starting: sudo systemctl start lnbits"
|
||||||
echo "# OK"
|
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "LNBits already installed."
|
echo "LNBits already installed."
|
||||||
|
Reference in New Issue
Block a user