syslog: restructure code

This commit is contained in:
Girish Ramakrishnan
2023-04-14 19:31:45 +02:00
parent 158ba4ea0b
commit 4c475818bc
11 changed files with 65 additions and 1754 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env node
'use strict';
const server = require('./server.js');
const options = {
logFolder: process.argv[2] || '/home/yellowtent/platformdata/logs',
port: 2514
};
async function main() {
await server.start(options);
}
main();