summaryrefslogtreecommitdiffstats
path: root/streams/deepmix
diff options
context:
space:
mode:
authorroot <root@krebs>2011-06-07 20:50:29 +0200
committerroot <root@krebs>2011-06-07 20:50:29 +0200
commit80385639a3e2570b18c82dc5366d219be7c71d24 (patch)
tree4f9a9b0c0479eb0f8a05c0852f7f2039675f3fc7 /streams/deepmix
parent3f9e5c3a22b07d81914c232ad4878eba6a4fbadd (diff)
fixed run-scripts for streams
Diffstat (limited to 'streams/deepmix')
-rwxr-xr-xstreams/deepmix5
1 files changed, 2 insertions, 3 deletions
diff --git a/streams/deepmix b/streams/deepmix
index 89a1ce8e..b8f8fba8 100755
--- a/streams/deepmix
+++ b/streams/deepmix
@@ -3,9 +3,8 @@ set -euf
CMD="mplayer http://deepmix.ru/deepmix128.pls"
function start() {
stop
- tmux list-sessions &&
- tmux new-window "$CMD" ||
- tmux new-session "$CMD" ||
+ tmux start-server
+ tmux new-session -d "$CMD"
}
function stop() {
pkill mplayer || :