Repository: cloudstack
Updated Branches:
  refs/heads/4.4 a458383d0 -> 380ecf225


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 <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/380ecf22
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/380ecf22
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/380ecf22

Branch: refs/heads/4.4
Commit: 380ecf2253dd03905df25f30422b67ec1b17ff19
Parents: a458383
Author: Joris van Lieshout <[email protected]>
Authored: Sat Nov 8 17:21:43 2014 +0100
Committer: Daan Hoogland <[email protected]>
Committed: Sun Nov 9 13:10:50 2014 +0100

----------------------------------------------------------------------
 systemvm/patches/debian/config/etc/logrotate.d/rsyslog | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/380ecf22/systemvm/patches/debian/config/etc/logrotate.d/rsyslog
----------------------------------------------------------------------
diff --git a/systemvm/patches/debian/config/etc/logrotate.d/rsyslog 
b/systemvm/patches/debian/config/etc/logrotate.d/rsyslog
index e18271e..ecf32d8 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
 }

Reply via email to