var config = require('./config.json');
var api = require('./api.js');
var tsdns = require('./tsdns');
api.listen(config.api_port,config.api_ip, function () {
console.log('API rodando em %s:%s', config.api_ip, config.api_port);
});
tsdns.listen(config.tsdns_port,config.tsdns_ip, function () {
console.log('Tsdns rodando em %s:%s', config.tsdns_ip,config.tsdns_port);
});
I've solved this xDWow im dumb ^^ why didnt i see that.... AFAIK linux console cant just run .js scripts