docker: handle secrets.php

This commit is contained in:
Zankaria authored and Zankaria committed 2024-04-16 22:32:41 +02:00
1 parent eb01768191
commit 79183ae8e6
2 files changed
+7 -2

No files matched your search

+5
View File
@@ -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