Mercurial > pumpbridge
comparison src/restartSYNC.sh @ 30:3e3fa35e3ce2
twitter sync likes, recommend mongodb
configure pump2twitter, twitter2pump in webui
author | Mathias Gebbe <mgebbe@intevation.de> |
---|---|
date | Thu, 28 Aug 2014 18:40:39 +0200 |
parents | 34cfa565f565 |
children |
comparison
equal
deleted
inserted
replaced
29:34cfa565f565 | 30:3e3fa35e3ce2 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 cd /home/pumpbridge/pumpbridge/lib | 3 cd /home/pumpbridge/pumpbridge/src |
4 | 4 |
5 until node syncALONE.js; do | 5 until coffee syncALONE.coffee; do |
6 echo "sync crashed with exit code $?. Respawning.." >&2 | 6 echo "sync crashed with exit code $?. Respawning.." >&2 |
7 sleep 1 | 7 sleep 1 |
8 done | 8 done |