mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Do not use /sbin/ip to fetch the current ip (fix #712)
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/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
|
exec dotnet BTCPayServer.dll
|
||||||
|
|||||||
Reference in New Issue
Block a user