mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 14:45:07 +03:00

2. added SCTP protocol and schema support 3. added set of NAS models support (Asustor, ReadyNAS, Drobo, QNAP, WD, Synology, Terramaster) 4. moved to fc00::/7 private segment 5. added Windows, MacOS and Linux UI for peers edit and current status
17 lines
324 B
Bash
17 lines
324 B
Bash
#!/bin/bash
|
|
DEBUG=true
|
|
SH="$(readlink /proc/$$/exe)"
|
|
if $DEBUG ; then
|
|
echo "" > /tmp/mesh.log
|
|
exec 2>>/tmp/mesh.log
|
|
SH="$SH -x"
|
|
set -x
|
|
fi
|
|
|
|
BASE="/var/packages/mesh/target"
|
|
LOG_FILE="$BASE/var/log/mesh.log"
|
|
|
|
ln -sf $LOG_FILE $BASE/www/log
|
|
ln -sf $BASE/dsm.mesh.conf /etc/nginx/conf.d/dsm.mesh.conf
|
|
nginx -s reload
|
|
exit 0
|