Commit 7ae71ffa authored by Leo Iannacone's avatar Leo Iannacone

calculate pidfile after merging configuration

parent 7595a9a6
......@@ -69,12 +69,6 @@ config.web.preferences.debug = 0; // debug level - 0 means disabled
config.version = '0.4.1';
config.debomatic.pidfile = "/var/run/debomatic-" +
require('crypto')
.createHash('sha256')
.update(config.debomatic.path)
.digest('hex');
config.events = {};
config.events.error = 'error';
config.events.broadcast = {};
......@@ -142,5 +136,13 @@ try {
config.web.events = config.events;
config.web.status = config.status;
config.web.host = config.host;
// calculate pidfile
config.debomatic.pidfile = "/var/run/debomatic-" +
require('crypto')
.createHash('sha256')
.update(config.debomatic.path)
.digest('hex');
module.exports = config;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment