You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by wi...@apache.org on 2014/11/11 13:04:03 UTC

[24/50] [abbrv] git commit: updated refs/heads/statscollector-graphite to e06a814

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 <da...@onecht.net>


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

Branch: refs/heads/statscollector-graphite
Commit: 1cc733bfd52e4106bce151ac1c7253b2e4873764
Parents: 54ec268
Author: Joris van Lieshout <jv...@schubergphilis.com>
Authored: Sat Nov 8 17:21:43 2014 +0100
Committer: Daan Hoogland <da...@onecht.net>
Committed: Sun Nov 9 13:18:08 2014 +0100

----------------------------------------------------------------------
 systemvm/patches/debian/config/etc/logrotate.d/cloud      | 2 +-
 systemvm/patches/debian/config/etc/logrotate.d/conntrackd | 2 +-
 systemvm/patches/debian/config/etc/logrotate.d/rsyslog    | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1cc733bf/systemvm/patches/debian/config/etc/logrotate.d/cloud
----------------------------------------------------------------------
diff --git a/systemvm/patches/debian/config/etc/logrotate.d/cloud b/systemvm/patches/debian/config/etc/logrotate.d/cloud
index 37440ac..617b09b 100644
--- a/systemvm/patches/debian/config/etc/logrotate.d/cloud
+++ b/systemvm/patches/debian/config/etc/logrotate.d/cloud
@@ -22,6 +22,6 @@
         compress
         delaycompress
         postrotate
-                pkill socat > /dev/null
+                /usr/bin/pkill socat > /dev/null
         endscript
 }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1cc733bf/systemvm/patches/debian/config/etc/logrotate.d/conntrackd
----------------------------------------------------------------------
diff --git a/systemvm/patches/debian/config/etc/logrotate.d/conntrackd b/systemvm/patches/debian/config/etc/logrotate.d/conntrackd
index d09d752..8139191 100644
--- a/systemvm/patches/debian/config/etc/logrotate.d/conntrackd
+++ b/systemvm/patches/debian/config/etc/logrotate.d/conntrackd
@@ -7,7 +7,7 @@
 
     postrotate
         if [ -e /var/run/conntrackd.sock ]; then
-            invoke-rc.d conntrackd restart > /dev/null
+            /usr/sbin/invoke-rc.d conntrackd restart > /dev/null
         fi
     endscript
 }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1cc733bf/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 d2a04ca..faa8776 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 rotate > /dev/null
+		/usr/sbin/invoke-rc.d rsyslog rotate > /dev/null
 	endscript
 }
 
@@ -32,6 +32,6 @@
 	delaycompress
 	sharedscripts
 	postrotate
-		invoke-rc.d rsyslog rotate > /dev/null
+		/usr/sbin/invoke-rc.d rsyslog rotate > /dev/null
 	endscript
 }