Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
change the owner of the app log directory to the web app user on amaz…
Browse files Browse the repository at this point in the history
…on linux 2, and disable change_cache_permissions (for now)
  • Loading branch information
keithchev committed Sep 17, 2022
1 parent 4601246 commit b343c05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .ebextensions/02_python.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ container_commands:
# command: chmod g+s /opt/python/log
command: chmod g+w /opt/python/log/*
02_change_owner:
command: chown root:wsgi /opt/python/log/*
command: chown webapp:webapp /opt/python/log/*
03_migrate:
command: "python manage.py migrate --noinput"
leader_only: true
Expand All @@ -17,5 +17,5 @@ container_commands:
05_collectstatic:
command: "python manage.py collectstatic --noinput"
leader_only: true
06_change_cache_permissions:
command: chmod 777 /opt/python/ondeck/app/*_cache*
# 06_change_cache_permissions:
# command: chmod 777 /opt/python/ondeck/app/*_cache*

0 comments on commit b343c05

Please sign in to comment.