1
0
mirror of /repos/baseimage-docker.git synced 2026-02-26 17:32:03 +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
2 changed files with 2 additions and 0 deletions

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