override the logrotate.conf without su root syslog

This commit is contained in:
zhouhaibing089 authored and haibzhou committed 2016-09-12 10:49:28 +08:00
1 parent 24b8bcebc8
commit d3eceae5ef
2 files changed
+37

No files matched your search

+1
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