Add Jetstream daemon to console

This commit is contained in:
Philipp 2025-01-01 23:52:48 +01:00
parent 64e66acb01
commit 3d2524532f
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
5 changed files with 167 additions and 158 deletions

View file

@ -24,4 +24,7 @@ $dice = (new Dice())->addRules(require(dirname(__DIR__) . '/static/dependencies.
$app = \Friendica\App::fromDice($dice);
$app->processJetstream();
$argv = $_SERVER['argv'] ?? [];
array_splice($argv, 1, 0, "jetstream");
$app->processConsole($argv);