You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
376 B
15 lines
376 B
4 years ago
|
import * as mediaserver from "./server";
|
||
|
import * as db from "./database";
|
||
|
import * as http from "./http";
|
||
|
import * as cleanup from "./cleanup";
|
||
|
import { config } from "./config";
|
||
|
|
||
|
async function run() {
|
||
|
await db.init();
|
||
|
await cleanup.init();
|
||
|
await http.init();
|
||
|
await mediaserver.init();
|
||
|
console.log(`Satyr v${config['satyr']['version']} ready`);
|
||
|
}
|
||
|
run();
|
||
|
export { run };
|