start external from install script

This commit is contained in:
/rootzoll 2020-02-10 21:43:35 +01:00
parent a587dcb7ea
commit 888117c559
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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."