Skip to content

Commit

Permalink
Work around issue with /var/log/nginx/healthd not existing.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Sep 20, 2023
1 parent 1dbab8e commit 89490d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .platform/hooks/prebuild/rbenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ rm -f .ruby-version

# Work around annoying Errno::ENOENT issue?
mkdir -p /var/app/staging/vendor/bundle/ruby/2.7.0/cache

# I dunno why this directory isn't created.. and I don't care enough to figure out why.
mkdir -p /var/log/nginx/healthd
chown nginx:nginx /var/log/nginx/healthd

0 comments on commit 89490d2

Please sign in to comment.