init: add logrotate.conf
logrotate was broken due to phusion/baseimage-docker#338 This changes logrotate to use the root user which has the proper permissions on /var/log.
This commit is contained in:
parent
4896677282
commit
e54d729a84
2 changed files with 43 additions and 0 deletions
|
@ -92,6 +92,7 @@ ADD conf/init/copy_syslog_config.sh /etc/my_init.d/
|
|||
ADD conf/init/create_certs.sh /etc/my_init.d/
|
||||
ADD conf/init/runmigration.sh /etc/my_init.d/
|
||||
ADD conf/init/syslog-ng.conf /etc/syslog-ng/
|
||||
ADD conf/init/logrotate.conf /etc/logrotate.conf # remove after phusion/baseimage-docker#338 is fixed
|
||||
ADD conf/init/zz_boot.sh /etc/my_init.d/
|
||||
ADD conf/init/service/ /etc/service/
|
||||
RUN rm -rf /etc/service/syslog-forwarder
|
||||
|
|
Reference in a new issue