Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ale
autoradio
Commits
76711c1b
Commit
76711c1b
authored
Jul 25, 2015
by
ale
Browse files
start a source at the end of the Vagrant setup
parent
86b39ed4
Changes
2
Hide whitespace changes
Inline
Side-by-side
vagrant-test/Vagrantfile
View file @
76711c1b
...
...
@@ -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
...
...
vagrant-test/start-source
View file @
76711c1b
...
...
@@ -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 &
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment