#!/bin/sh IPFS_LOGGING=warn /usr/local/bin/start_ipfs daemon --migrate=true --enable-gc & /bin/sleep 10s while (( true )); do ipfs add -Qr /hls | ipfs name publish; done