mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
12 lines
276 B
TypeScript
12 lines
276 B
TypeScript
// Starts up applications required to run before the HTTP server is on.
|
|
import { Conf } from '@/config.ts';
|
|
import { cron } from '@/cron.ts';
|
|
import { startFirehose } from '@/firehose.ts';
|
|
|
|
if (Conf.firehoseEnabled) {
|
|
startFirehose();
|
|
}
|
|
|
|
if (Conf.cronEnabled) {
|
|
cron();
|
|
}
|