Skip to content

Commit 265f2ac

Browse files
committed
Put back cache/logs dirs creation
1 parent 8edcaa2 commit 265f2ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ rm -rf Symfony/app/logs/*
5050
if [[ "$OSTYPE" == "linux-gnu" ]]; then
5151

5252
if [[ ! $TRAVIS ]]; then
53+
# Need to create cache and logs directories, as they do not pre-exist in new deployments
54+
mkdir -p `pwd`/Symfony/app/cache/
55+
mkdir -p `pwd`/Symfony/app/logs/
56+
5357
# Set access control for both apache and current user on cache and logs directories
5458
sudo setfacl -R -m u:www-data:rwX -m u:`whoami`:rwX `pwd`/Symfony/app/cache `pwd`/Symfony/app/logs
5559
sudo setfacl -dR -m u:www-data:rwx -m u:`whoami`:rwx `pwd`/Symfony/app/cache `pwd`/Symfony/app/logs

0 commit comments

Comments
 (0)