mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 14:11:06 +02:00
@@ -445,7 +445,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||||||
githubUser="$3"
|
githubUser="$3"
|
||||||
fi
|
fi
|
||||||
#githubBranch="tags/raspiblitz"
|
#githubBranch="tags/raspiblitz"
|
||||||
githubBranch="a1ae7aca9e5c0dba89f1e62b5d172b12d4492019" #commit 21. December 2021
|
githubBranch="93e58f4c807006c26b675f34947a5bda9743cd86" #commit 23. December 2021
|
||||||
if [ "$4" != "" ]; then
|
if [ "$4" != "" ]; then
|
||||||
githubBranch="$4"
|
githubBranch="$4"
|
||||||
fi
|
fi
|
||||||
@@ -510,7 +510,8 @@ After=bitcoind.service
|
|||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/home/lnbits/lnbits
|
WorkingDirectory=/home/lnbits/lnbits
|
||||||
ExecStartPre=/home/admin/config.scripts/bonus.lnbits.sh prestart
|
ExecStartPre=/home/admin/config.scripts/bonus.lnbits.sh prestart
|
||||||
ExecStart=/bin/sh -c 'cd /home/lnbits/lnbits && ./venv/bin/hypercorn -k trio --bind 0.0.0.0:5000 "lnbits.app:create_app()"'
|
|
||||||
|
ExecStart=/bin/sh -c 'cd /home/lnbits/lnbits && ./venv/bin/uvicorn lnbits.__main__:app --port 5000'
|
||||||
User=lnbits
|
User=lnbits
|
||||||
Restart=always
|
Restart=always
|
||||||
TimeoutSec=120
|
TimeoutSec=120
|
||||||
|
Reference in New Issue
Block a user