mirror of
/repos/baseimage-docker.git
synced 2026-02-27 17:41:59 +01:00
Logrotate now reloads syslog-ng properly
Closes GH-167.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user