ZeroTierOne/tests/http/docker-main.sh

15 lines
267 B
Bash
Raw Normal View History

#!/bin/bash
export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin
2015-10-30 20:06:30 +00:00
/zerotier-one -d >>zerotier-one.out 2>&1
2015-10-28 21:16:58 +00:00
while [ ! -d "/proc/sys/net/ipv6/conf/zt0" ]; do
sleep 0.25
done
sleep 2
2015-10-28 21:16:58 +00:00
exec node --harmony /agent.js >>agent.out 2>&1
#exec node --harmony /agent.js