mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-21 22:11:48 +01:00
Do not use /sbin/ip to fetch the current ip (fix #712)
This commit is contained in:
parent
91c63a8ee6
commit
561644f75b
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo "$(/sbin/ip route|awk '/default/ { print $3 }') host.docker.internal" >> /etc/hosts
|
||||
echo "$(grep "$HOSTNAME" /etc/hosts|awk '{print $1}') host.docker.internal" >> /etc/hosts
|
||||
exec dotnet BTCPayServer.dll
|
||||
|
|
Loading…
Add table
Reference in a new issue