aboutsummaryrefslogtreecommitdiffstats
path: root/config/syslog-ng/syslog-ng.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/syslog-ng/syslog-ng.inc')
-rw-r--r--config/syslog-ng/syslog-ng.inc2
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;
}