Skip to content

Commit

Permalink
Copy if not exists
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Aug 23, 2024
1 parent 80940b6 commit 5a3198b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -x
set -euo pipefail

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

Expand Down

0 comments on commit 5a3198b

Please sign in to comment.