aboutsummaryrefslogtreecommitdiff
path: root/.devcontainer/postCreateCommand.sh
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-09-18 08:41:25 +0200
committerGravatar GitHub <noreply@github.com> 2023-09-18 08:41:25 +0200
commit2cb4f2e23352f6f3bd85ea790085380984ddb613 (patch)
tree0d9bd6fd23bd13925b0148a042c2165de9e3afba /.devcontainer/postCreateCommand.sh
parent0beabc333f06c71797a1cbf457455c4ca51efec5 (diff)
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.
Diffstat (limited to '.devcontainer/postCreateCommand.sh')
-rwxr-xr-x.devcontainer/postCreateCommand.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.devcontainer/postCreateCommand.sh b/.devcontainer/postCreateCommand.sh
index 930ede974..0fe74051e 100755
--- a/.devcontainer/postCreateCommand.sh
+++ b/.devcontainer/postCreateCommand.sh
@@ -9,4 +9,4 @@ cp ./Docker/*.Apache.conf /etc/apache2/conf.d/
chown -R developer:www-data /home/developer/freshrss-data
chmod -R g+rwX /home/developer/freshrss-data
-httpd
+httpd -c 'ErrorLog "/var/log/apache2/error.log"' -c 'CustomLog "/var/log/apache2/access.log" combined_proxy'