Merge launch and launch_local

This commit is contained in:
Némunaire 2015-01-18 04:24:29 +01:00 committed by Nemunaire
commit 0405b1d2c4
3 changed files with 4 additions and 51 deletions

View file

@ -29,7 +29,10 @@ trap "kill $KP1 $KP2; rm -rf '$TMPF'; echo; kill $$" INT TERM
while ! [ -f /tmp/stop ];
do
./synchro.sh delete >> ./logs/synchro.log 2>&1
if [ -n "$FRONTEND_HOSTNAME" ]
then
./synchro.sh delete >> ./logs/synchro.log 2>&1
fi
if [ `ls submission | wc -l` -gt 1 ]
then