Tactical Media Broadcast Hub — initial release
Self-hosted multi-platform broadcast newsroom for activist collectives: publishing pipeline with group approval and DST-proof scheduling, TweetDeck-style column wall with hostile-content-safe rendering, live control room with Auto Director, bridged chat governance with polls and quorum, distributed sandboxed transcode workers, encrypted content-addressed archive, monthly analytics. MIT licensed. See README.md and docs/.
This commit is contained in:
commit
aa5e262f3a
880 changed files with 111042 additions and 0 deletions
8
infra/peertube-workers/win/service-stop.cjs
Normal file
8
infra/peertube-workers/win/service-stop.cjs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
'use strict';
|
||||
const fs=require('node:fs'),path=require('node:path');
|
||||
const root=process.env.PT_ROOT || 'C:\\pt-worker', state=path.join(root,'state');
|
||||
// The supervisor owns graceful shutdown; only stop after all processing jobs exit.
|
||||
fs.writeFileSync(path.join(state,'supervisor-stop'), 'requested');
|
||||
const timer=setInterval(()=>{
|
||||
try {const r=JSON.parse(fs.readFileSync(path.join(state,'runner.json'),'utf8'));if(!r.running){clearInterval(timer);process.exit(0);}}catch{}
|
||||
},1000);
|
||||
Loading…
Add table
Add a link
Reference in a new issue