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