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)
app.listen(dmx.config.port, '::', null, function() {
try {
//process.setgid(dmx.config.gid);
//process.setuid(dmx.config.uid);
process.setgid(dmx.config.gid);
process.setuid(dmx.config.uid);
} catch (err) {
console.log(err);
process.exit(1);