diff options
author | doktornotor <notordoktor@gmail.com> | 2015-07-28 21:12:35 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-07-28 21:12:35 +0200 |
commit | 48319653301a7fac2bf622fdb7bebe7cd595cd58 (patch) | |
tree | 82b25e4974d19e1bc264bc69cdfccdc0ac038d06 | |
parent | 58cbb8282ac44aeaaa1ba2aaa06d2c74d3e774f6 (diff) | |
download | pfsense-packages-48319653301a7fac2bf622fdb7bebe7cd595cd58.tar.gz pfsense-packages-48319653301a7fac2bf622fdb7bebe7cd595cd58.tar.bz2 pfsense-packages-48319653301a7fac2bf622fdb7bebe7cd595cd58.zip |
Bug #4612 - fix syslog-ng logrotate cron job
Fix the path to logrotate binary.
-rw-r--r-- | config/syslog-ng/syslog-ng.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/syslog-ng/syslog-ng.inc b/config/syslog-ng/syslog-ng.inc index bbec3a7c..1643c03f 100644 --- a/config/syslog-ng/syslog-ng.inc +++ b/config/syslog-ng/syslog-ng.inc @@ -165,7 +165,7 @@ function syslogng_install_cron($should_install) { $cron_item['month'] = "*"; $cron_item['wday'] = "*"; $cron_item['who'] = "root"; - $cron_item['command'] = "/usr/bin/nice -n20 /usr/local/sbin/logrotate /usr/local/etc/logrotate.conf"; + $cron_item['command'] = "/usr/bin/nice -n20 " . SYSLOGNG_BASEDIR . "local/sbin/logrotate /usr/local/etc/logrotate.conf"; $config['cron']['item'][] = $cron_item; $need_write = true; } |