From b2b58f95c7e8860bbb5c0081ae739b26ac12ea34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= Date: Tue, 7 Aug 2012 19:14:36 +0000 Subject: fix start.sh and printloop.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Asbjørn Sloth Tønnesen --- printloop.sh | 2 +- start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/printloop.sh b/printloop.sh index 74ad25e..64c1e24 100755 --- a/printloop.sh +++ b/printloop.sh @@ -10,6 +10,6 @@ print_queue(){ } print_queue -while inotifywait --quiet "$queuedir/new" /dev; do +while inotifywait --quiet --timeout 30 "$queuedir/new"; do print_queue done diff --git a/start.sh b/start.sh index 4cae230..390c40b 100755 --- a/start.sh +++ b/start.sh @@ -1 +1 @@ -./printloop.sh | tee /dev/stderr | (cd web && ./labitrackd.lua 0.0.0.0:8081 ../queue/ +./printloop.sh | tee /dev/stderr | (cd web && ./labitrackd.lua 0.0.0.0:8081 ../queue/) -- cgit v1.2.1