mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-09-15 02:35:07 +03:00
Add Docker multiarch support
This commit is contained in:
parent
89a3718d59
commit
48f9de3b5c
3 changed files with 94 additions and 0 deletions
|
@ -9,5 +9,10 @@ if [ ! -f "$CONF_DIR/config.conf" ]; then
|
|||
yggdrasil --genconf > "$CONF_DIR/config.conf"
|
||||
fi
|
||||
|
||||
if [ -n "$ALLOW_IPV6_FORWARDING" ]; then
|
||||
echo "set sysctl -w net.ipv6.conf.all.forwarding=1"
|
||||
sysctl -w net.ipv6.conf.all.forwarding=1
|
||||
fi
|
||||
|
||||
yggdrasil --useconf < "$CONF_DIR/config.conf"
|
||||
exit $?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue