Allow starting as root and downgrading once the server is listening
This commit is contained in:
parent
b444440d65
commit
b7e943d90e
8 changed files with 79 additions and 17 deletions
|
@ -234,4 +234,7 @@ let importLoop = () => {
|
|||
getNext();
|
||||
};
|
||||
|
||||
importLoop();
|
||||
module.exports = callback => {
|
||||
importLoop();
|
||||
setImmediate(callback);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue