summaryrefslogtreecommitdiff
path: root/net-mgmt/observium/files/patch-poller-wrapper.py
blob: ba11a1203e8e95b11b613c9d4d35633bff32f6b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- poller-wrapper.py.orig	2014-11-04 16:14:27 UTC
+++ poller-wrapper.py
@@ -38,6 +38,8 @@ except:
     print "threading, Queue, sys, subprocess, time, os, json"
     sys.exit(2)
 
+os.environ['PATH'] += ':%%LOCALBASE%%/sbin:%%LOCALBASE%%/bin'
+
 try:
     import MySQLdb
 except: