#!/bin/sh | |
# | |
# Wait for any running log upload to finish, then start a new one and wait | |
# for the new one to finish too. | |
# | |
# If you'd rather start a log upload cycle but not wait for it, try | |
# upload-logs-now instead. | |
# | |
# Warning: this script has no timeout. If you need one, implement it in | |
# the caller yourself. | |
# | |
upload-logs-now | |
wait-until-created /tmp/logs-uploaded |