summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@krebs>2011-08-07 17:33:21 +0200
committerroot <root@krebs>2011-08-07 17:33:21 +0200
commit81eb6b3220ad70daba291177857f3bc05c3ec48b (patch)
tree6c001ea494842ca8418fc76b46e375be4a48fbf9
parentc0230d4be08c6696365239e15efee82742cba25f (diff)
streams/streams: add infinite loop to command
-rwxr-xr-xstreams/streams2
1 files changed, 1 insertions, 1 deletions
diff --git a/streams/streams b/streams/streams
index 607fd9e5..60a4bfc2 100755
--- a/streams/streams
+++ b/streams/streams
@@ -22,7 +22,7 @@ function start() {
if echo "$URLS" | while read URL NAME; do
if [ "$NAME" = "$REQ" ];then
- tmux new-session -s streams -n streams -d "exec mplayer $URL"
+ tmux new-session -s streams -n streams -d "while sleep 1;do mplayer $URL;done"
echo "** $REQ started"
exit 1
fi