Skip to content

Commit

Permalink
fix(docker): clean up dangling unix sockets on startup (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
flrgh committed May 15, 2024
1 parent 3e7cc14 commit cfc3cea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ if [[ ${1:-} = start ]]; then
< "$DOORBELL_ASSET_PATH"/nginx.template.conf \
> "$DOORBELL_RUNTIME_PATH"/nginx.conf

find "$DOORBELL_RUNTIME_PATH" \
-type s \
-delete

echo "Starting up..."
exec nginx \
-p "$DOORBELL_RUNTIME_PATH" \
Expand Down

0 comments on commit cfc3cea

Please sign in to comment.