#!/bin/bash

cd /home/pumpbridge/pumpbridge/lib

until node syncALONE.js; do
    echo "sync crashed with exit code $?. Respawning.." >&2
    sleep 1
done
