webdevops / Dockerfile

:package: Dockerfiles from WebDevOps for PHP, Apache and Nginx
https://webdevops.io/projects/dockerfiles/
MIT License
1.67k stars 492 forks source link

fix apache2 pid path for alpine #458

Open dauriata opened 2 years ago

dauriata commented 2 years ago

In alpine distribution, pid file is defined in /etc/apache2/conf.d/mpm.conf as

<IfModule !mpm_netware_module>
    PidFile "/run/apache2/httpd.pid"
</IfModule>

the pid cleaner script uses /var/run/httpd/http.pid path which seems to be the path used on centos

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information