mirror of
https://github.com/wimpysworld/stream-sprout
synced 2026-03-14 14:45:50 +01:00
fix: prevent server keys concatenating on restarts
This commit is contained in:
parent
66b39fda90
commit
63c7aa39d7
1 changed files with 1 additions and 2 deletions
|
|
@ -128,12 +128,11 @@ else
|
|||
exit 1
|
||||
fi
|
||||
|
||||
eval "$(parse_yaml "${STREAM_SPROUT_YAML}" sprout_)"
|
||||
|
||||
# trap ctrl-c and call ctrl_c() to clean up
|
||||
trap ctrl_c INT
|
||||
|
||||
while true; do
|
||||
eval "$(parse_yaml "${STREAM_SPROUT_YAML}" sprout_)"
|
||||
echo "Stream Sprout v${VERSION} using ${STREAM_SPROUT_CONFIG}"
|
||||
if [[ ! "${sprout_server_url}" =~ ^rtmp://.* ]]; then
|
||||
echo " - Invalid URL: ${sprout_server_url} is not a valid RTMP URL."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue