Skip to content
Snippets Groups Projects
Commit 76711c1b authored by ale's avatar ale
Browse files

start a source at the end of the Vagrant setup

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