소스 검색

Fix session dir perms

Girish Ramakrishnan 8 년 전
부모
커밋
3e7fd88724
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      start.sh

+ 2 - 2
start.sh

@@ -2,7 +2,7 @@
 
 set -eu
 
-mkdir -p /app/data/public /run/apache2 /run/proftpd
+mkdir -p /app/data/public /run/apache2 /run/proftpd /run/app
 
 # check if any index file exists
 for f in /app/data/public/index.*; do
@@ -61,7 +61,7 @@ if [ -f "/app/data/run.sh" ]; then
     /bin/bash /app/data/run.sh
 fi
 
-chown -R www-data:www-data /app/data /run/apache2 /run/proftpd
+chown -R www-data:www-data /app/data /run/apache2 /run/proftpd /run/app
 
 echo "Starting supervisord"
 exec /usr/bin/supervisord --configuration /etc/supervisor/supervisord.conf --nodaemon -i Lamp