From 380ecf2253dd03905df25f30422b67ec1b17ff19 Mon Sep 17 00:00:00 2001 From: Joris van Lieshout Date: Sat, 8 Nov 2014 17:21:43 +0100 Subject: [PATCH] Logrotate is called from crontab. Debian crontab does not include everything in it's path. Therefore reference to these bins need to be absoluut. Signed-off-by: Daan Hoogland --- systemvm/patches/debian/config/etc/logrotate.d/rsyslog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemvm/patches/debian/config/etc/logrotate.d/rsyslog b/systemvm/patches/debian/config/etc/logrotate.d/rsyslog index e18271e5fb1..ecf32d8465f 100644 --- a/systemvm/patches/debian/config/etc/logrotate.d/rsyslog +++ b/systemvm/patches/debian/config/etc/logrotate.d/rsyslog @@ -7,7 +7,7 @@ delaycompress compress postrotate - invoke-rc.d rsyslog reload > /dev/null + /usr/sbin/invoke-rc.d rsyslog reload > /dev/null endscript } @@ -32,6 +32,6 @@ delaycompress sharedscripts postrotate - invoke-rc.d rsyslog reload > /dev/null + /usr/sbin/nvoke-rc.d rsyslog reload > /dev/null endscript }