entrypoint.sh 419 B

123456789101112
  1. #!/bin/bash
  2. # Add .htacces according to https://www.rainloop.net/docs/installation/#notice
  3. echo "Require all denied" > /rainloop/data/.htaccess
  4. # Set rainloop directory permissions to catch bind mounts too
  5. chown -R www-data:www-data /rainloop/data
  6. find /rainloop -type d -exec chmod 755 {} \;
  7. find /rainloop -type f -exec chmod 644 {} \;
  8. # Call same entrypoint command as base image
  9. /usr/local/bin/apache2-foreground