Commit 76711c1b authored by ale's avatar ale

start a source at the end of the Vagrant setup

parent 86b39ed4
......@@ -79,6 +79,9 @@ Vagrant.configure(API_VERSION) do |config|
# Create a test mountpoint.
m.vm.provision "shell",
inline: "sleep 3 && radioctl create-mount /stream.ogg"
# Start streaming.
m.vm.provision "shell", path: "start-source"
end
end
......
......@@ -3,7 +3,7 @@
# Stream data to the test mountpoint, using 'ices2'.
#
stream=/stream.ogg
stream=${1:-/stream.ogg}
# Download a couple of test songs.
for song in song1.ogg song2.ogg ; do
......@@ -29,4 +29,4 @@ cat > /tmp/ices-playlist.txt <<EOF
EOF
cd /tmp
ices2 /tmp/ices.xml
ices2 /tmp/ices.xml >/tmp/ices.log 2>&1 &
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment