Consolidate MangaCircus app, scraper, and Compose baseline

This commit is contained in:
Maashkinoozhe committed 2026-10-07 23:28:20 +02:00
1 parent cfb2d79103
commit eef4ffa07c
103 files changed
+9316 -172

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env node
'use strict';
const { Supervisor } = require('./supervisor');
const supervisor = new Supervisor(process.argv[2] || 'reader');
supervisor.start();
const keepalive = setInterval(() => {}, 60000);
let closing = false;
for (const signal of ['SIGINT', 'SIGTERM']) process.on(signal, async () => {
if (closing) return; closing = true; clearInterval(keepalive); await supervisor.close(); process.exit(0);
});