mirror of
https://github.com/jez500/pricebuddy.git
synced 2026-11-24 19:58:13 +01:00
apachectl reads /var/run/apache2/apache2.pid. After an unclean restart another process can reuse the old PID, and apachectl then exits 0 without starting Apache. apache2-foreground removes the stale PID file first. Supervisor now also restarts Apache if it exits.