diff options
author | Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> | 2012-08-07 19:14:36 +0000 |
---|---|---|
committer | Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> | 2012-08-07 19:14:36 +0000 |
commit | b2b58f95c7e8860bbb5c0081ae739b26ac12ea34 (patch) | |
tree | df1251950fc87b1d7101cc8ebb5117022bc41a15 | |
parent | ca637c5d862695705dff9c54b8fa6f33465e21b5 (diff) | |
download | labitrack-b2b58f95c7e8860bbb5c0081ae739b26ac12ea34.tar.gz labitrack-b2b58f95c7e8860bbb5c0081ae739b26ac12ea34.tar.xz labitrack-b2b58f95c7e8860bbb5c0081ae739b26ac12ea34.zip |
fix start.sh and printloop.sh
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>
-rwxr-xr-x | printloop.sh | 2 | ||||
-rwxr-xr-x | 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 @@ -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/) |