summaryrefslogtreecommitdiff
path: root/src/nopcollectd
diff options
context:
space:
mode:
Diffstat (limited to 'src/nopcollectd')
-rwxr-xr-xsrc/nopcollectd2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nopcollectd b/src/nopcollectd
index 933fb81..d2d635c 100755
--- a/src/nopcollectd
+++ b/src/nopcollectd
@@ -36,7 +36,7 @@ if #arg < 1 then
os.exit(1)
end
-local cnf = conf.load("nopcollectd." .. arg[1] .. ".conf")
+local cnf = conf.load("_rhnopescdir_/nopcollectd." .. arg[1] .. ".conf")
src_db = assert(db.init(cnf.src_db, cnf.src_user, cnf.src_pwd, cnf.src_host, cnf.src_port, cnf.src_table))
dst_db = assert(db.init(cnf.dst_db, cnf.dst_user, cnf.dst_pwd, cnf.dst_host, cnf.dst_port, cnf.dst_table))