stevespringett / nist-data-mirror

A simple Java command-line utility to mirror the CVE JSON data from NIST.
Apache License 2.0
206 stars 93 forks source link

entry.sh creates faulty httpd.conf #28

Closed Zohhak closed 5 years ago

Zohhak commented 5 years ago

On the startup of the container the entry.sh tries to replace the default port 80 with the internal used port 8080. On restart it tries to do that again and breaks the config by doing so. At the Moment on second startup the 'Listen' line is 'Listen 808080'

I think the sed command should be changed to: sed -i 's/^Listen 80$/Listen 8080/g' /usr/local/apache2/conf/httpd.conf

stevespringett commented 5 years ago

This is resolved in v1.4.0

0x7d7b commented 5 years ago

@Zohhak This should have been fixed with #40 .