diff options
author | root <root@krebs> | 2011-06-07 20:50:29 +0200 |
---|---|---|
committer | root <root@krebs> | 2011-06-07 20:50:29 +0200 |
commit | 80385639a3e2570b18c82dc5366d219be7c71d24 (patch) | |
tree | 4f9a9b0c0479eb0f8a05c0852f7f2039675f3fc7 /streams/groove | |
parent | 3f9e5c3a22b07d81914c232ad4878eba6a4fbadd (diff) |
fixed run-scripts for streams
Diffstat (limited to 'streams/groove')
-rwxr-xr-x | streams/groove | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/streams/groove b/streams/groove index f3e3719a..935a16d9 100755 --- a/streams/groove +++ b/streams/groove @@ -1,11 +1,10 @@ #! /bin/bash set -euf -CMD="mplayer http://somafm.com/groovesalad.pls" +CMD="exec mplayer http://somafm.com/groovesalad.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() { |