From 3f78cc97cb7ba7122620ae68b3e9bdd64bccdb74 Mon Sep 17 00:00:00 2001 From: Natenom Date: Thu, 6 Sep 2012 09:28:36 +0200 Subject: [PATCH] explicit setting for iceincludepath --- murmur-munin.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/murmur-munin.py b/murmur-munin.py index 62df9aa..b9ff75a 100644 --- a/murmur-munin.py +++ b/murmur-munin.py @@ -7,6 +7,9 @@ #Path to Murmur.ice iceslice='/usr/share/Ice/slice/Murmur.ice' +#Includepath for Ice, this is default for Debian +iceincludepath="/usr/share/Ice/slice" + #Murmur-Port (not needed to work, only for display purposes) serverport=64738 @@ -24,7 +27,7 @@ icesecretread="secureme" messagesizemax="65535" import Ice, sys -Ice.loadSlice("--all -I/usr/share/Ice/slice %s" % iceslice) +Ice.loadSlice("--all -I%s %s" % (iceincludepath, iceslice)) props = Ice.createProperties([]) props.setProperty("Ice.MessageSizeMax", str(messagesizemax))