Update bonus.thunderhub.sh (#2916)

In the latest release there is a breaking change. To run on a different port you now have to specify an env var
This commit is contained in:
Anthony Potdevin 2022-01-28 19:24:52 +01:00 committed by GitHub
parent 4878730bab
commit 343e7b1592
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,6 +121,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
# -----------
LOG_LEVEL='debug'
TOR_PROXY_SERVER='socks://127.0.0.1:9050'
PORT=3010
# -----------
# Interface Configs
@ -216,7 +217,7 @@ After=lnd.service
[Service]
WorkingDirectory=/home/thunderhub/thunderhub
ExecStart=/usr/bin/npm run start -- -p 3010
ExecStart=/usr/bin/npm run start
User=thunderhub
Restart=always
TimeoutSec=120