forked from leftypol/leftypol
docker: handle secrets.php
This commit is contained in:
parent
745bd5fc5d
commit
ffaad8dbb8
2 changed files with 6 additions and 1 deletions
|
@ -30,6 +30,11 @@ chgrp www-data /var/www
|
|||
# Initialize an empty robots.txt with the default if it doesn't exist.
|
||||
touch /var/www/robots.txt
|
||||
|
||||
# Initialize an empty writable secrests.php with the default if it doesn't exist.
|
||||
touch /var/www/inc/secrets.php
|
||||
chown www-data /var/www/inc/secrets.php
|
||||
chgrp www-data /var/www/inc/secrets.php
|
||||
|
||||
# Link the cache and tmp files directory.
|
||||
ln -nfs /var/tmp/leftypol /var/www/tmp
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue