debug output of main script

This commit is contained in:
Grant Limberg 2025-09-04 11:16:48 -07:00
parent d216a3739f
commit c9c8e95d60

View file

@ -165,3 +165,8 @@ export GLIBCXX_FORCE_NEW=1
export GLIBCPP_FORCE_NEW=1
export LD_PRELOAD="/opt/conda/envs/central_controller/lib/libjemalloc.so.2"
exec /usr/local/bin/zerotier-one -p${ZT_CONTROLLER_PORT:-$DEFAULT_PORT} /var/lib/zerotier-one
if [ $? -ne 0 ]; then
echo '*** FAILED: zerotier-one exited unexpectedly'
cat /var/lib/zerotier-one/local.conf
exit 1
fi