diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-05-14 11:23:42 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-05-14 11:23:42 (GMT) |
commit | a235aeb1f545807574a71808027492b2939906f0 (patch) | |
tree | a7013fdb6d4664051e3ba1c68c4f2e60909af60d /src/nopcollectd | |
parent | 75ed3879938ea62e7d76a79cf71f9ede6206ff98 (diff) |
fixed config file location
Diffstat (limited to 'src/nopcollectd')
-rwxr-xr-x | src/nopcollectd | 2 |
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)) |