Skip to content

Conversation

@bblacey
Copy link

@bblacey bblacey commented Jan 19, 2019

I have deployed several containers based upon your excellent docker-alpine-apache image however I have discovered that some containers fail after log rotation. This pull request changes logrotate to reload apache2 using runit vs. the default init.d script. I also fixed a couple sv run script environment variables.

  - APACHE_PID_FILE name is "httpd.pid", not apache2.pid
  - APACHE_LOG_DIR sub-directory is "logs", log log
  - apache2 reloaded with "sv reload" in postrotate block
  - eliminate docker build empty-completion warnings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant