diff --git a/Changelog.md b/Changelog.md index 50654fa..b0dceda 100644 --- a/Changelog.md +++ b/Changelog.md @@ -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) diff --git a/image/system_services.sh b/image/system_services.sh index 607cab2..b9699c1 100755 --- a/image/system_services.sh +++ b/image/system_services.sh @@ -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