summaryrefslogtreecommitdiff
path: root/src/nopsysstated
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-05-14 11:23:42 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-05-14 11:23:42 (GMT)
commita235aeb1f545807574a71808027492b2939906f0 (patch)
treea7013fdb6d4664051e3ba1c68c4f2e60909af60d /src/nopsysstated
parent75ed3879938ea62e7d76a79cf71f9ede6206ff98 (diff)
fixed config file location
Diffstat (limited to 'src/nopsysstated')
-rwxr-xr-xsrc/nopsysstated2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nopsysstated b/src/nopsysstated
index dc43c99..36992f5 100755
--- a/src/nopsysstated
+++ b/src/nopsysstated
@@ -31,7 +31,7 @@ package.path = package.path .. ";_rhnoplibdir_/?.lua"
db = require "db"
conf = require "conf"
-local cnf = conf.load("nopsysstated.conf")
+local cnf = conf.load("_rhnopescdir_/nopsysstated.conf")
db = assert(db.init(cnf.db_db, cnf.db_user, cnf.db_pwd, cnf.db_host, cnf.db_port, cnf.db_table))