uncomment priviledge drop

This commit is contained in:
Max Stockner 2013-07-31 12:32:29 +02:00
parent 70d960667a
commit 3ffa9f45b8

4
web.js
View file

@ -81,8 +81,8 @@ exports.init = function(dmx) {
var app = http.createServer(handler) var app = http.createServer(handler)
app.listen(dmx.config.port, '::', null, function() { app.listen(dmx.config.port, '::', null, function() {
try { try {
//process.setgid(dmx.config.gid); process.setgid(dmx.config.gid);
//process.setuid(dmx.config.uid); process.setuid(dmx.config.uid);
} catch (err) { } catch (err) {
console.log(err); console.log(err);
process.exit(1); process.exit(1);