mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 02:09:15 +01:00
start external from install script
This commit is contained in:
parent
a587dcb7ea
commit
888117c559
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user