Skip to content

Commit

Permalink
Config Check
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Sep 16, 2024
1 parent b41fb4e commit 81c26a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cloudformation/lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const PORTS = [{
Port: 8888,
Protocol: 'tcp',
Description: 'HLS Protocol',
Certificate: false,
Certificate: true,
Enabled: true
},{
Name: 'WEBRTC',
Expand Down
3 changes: 2 additions & 1 deletion start
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ set -x
set -euo pipefail

# Copy EFS Persisted certs to Let's Encrypt Dir
if [ ! -e "/opt/mediamtx/mediamtx.yml" ]; then
if [ ! -f "/opt/mediamtx/mediamtx.yml" ]; then
echo "NO CONFIG FOUND"
cp "/mediamtx.yml" "/opt/mediamtx/mediamtx.yml"
fi;

Expand Down

0 comments on commit 81c26a0

Please sign in to comment.