1
0
mirror of /repos/baseimage-docker.git synced 2025-12-30 08:01:31 +01:00

Logrotate now reloads syslog-ng properly

Closes GH-167.
This commit is contained in:
Hongli Lai (Phusion) 2015-01-19 16:55:09 +01:00
parent 2640bc7b03
commit 9b08ea9cd4
No known key found for this signature in database
GPG Key ID: 2AF96EB85EF4DA0D
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
* `docker exec` is now the default and recommended mechanism for running commands in the container. SSH is now disabled by default, but is still supported for those cases where "docker exec" is not appropriate. Closes GH-168.
* The workaround for Docker bug 2267 (the inability to modify /etc/hosts) has been removed, because it has been fixed upstream. Closes GH-155.
* Logrotate now reloads syslog-ng properly. Closes GH-167.
## 0.9.15 (release date: 2014-10-03)

View File

@ -31,6 +31,7 @@ sed -i -E 's/^(\s*)system\(\);/\1unix-stream("\/dev\/log");/' /etc/syslog-ng/sys
## Install logrotate.
$minimal_apt_get_install logrotate
sed -i 's|invoke-rc.d syslog-ng reload|sv reload syslog-ng|g' /etc/logrotate.d/syslog-ng
## Install the SSH server.
$minimal_apt_get_install openssh-server