Files
FreshRSS/.devcontainer/postCreateCommand.sh
Alexandre Alapetite 2cb4f2e233 Fix dev container Apache logs (#5660)
Apache logs were not available from the dev container.
Quick fix while waiting for a better integrated solution (e.g. coming in output window) - contributions welcome.
2023-09-18 08:41:25 +02:00

13 lines
330 B
Bash
Executable File

#!/bin/sh
ln -s "$(pwd)" /var/www/FreshRSS
cp ./Docker/*.Apache.conf /etc/apache2/conf.d/
./Docker/entrypoint.sh
chown -R developer:www-data /home/developer/freshrss-data
chmod -R g+rwX /home/developer/freshrss-data
httpd -c 'ErrorLog "/var/log/apache2/error.log"' -c 'CustomLog "/var/log/apache2/access.log" combined_proxy'