1
0
mirror of https://github.com/phusion/baseimage-docker.git synced 2026-03-26 20:38:58 +00:00

override the logrotate.conf without su root syslog

This commit is contained in:
zhouhaibing089
2016-09-12 10:47:34 +08:00
committed by haibzhou
parent 24b8bcebc8
commit d3eceae5ef
2 changed files with 37 additions and 0 deletions

View File

@@ -21,4 +21,5 @@ cp $SYSLOG_NG_BUILD_PATH/syslog-forwarder.runit /etc/service/syslog-forwarder/ru
## Install logrotate.
$minimal_apt_get_install logrotate
cp $SYSLOG_NG_BUILD_PATH/logrotate.conf /etc/logrotate.conf
cp $SYSLOG_NG_BUILD_PATH/logrotate_syslogng /etc/logrotate.d/syslog-ng