This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-zerotierone/attic/big-http-test/docker-main.sh

17 lines
362 B
Bash
Raw Normal View History

#!/bin/bash
export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin
2015-10-30 13:06:30 -07:00
/zerotier-one -d >>zerotier-one.out 2>&1
2015-10-28 14:16:58 -07:00
2015-11-03 14:39:44 -08:00
# Wait for ZeroTier to start and join the network
2015-10-28 14:16:58 -07:00
while [ ! -d "/proc/sys/net/ipv6/conf/zt0" ]; do
sleep 0.25
done
2015-11-03 14:39:44 -08:00
# Wait just a bit longer for stuff to settle
sleep 5
2015-10-28 14:16:58 -07:00
exec node --harmony /agent.js >>agent.out 2>&1
#exec node --harmony /agent.js