1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 18:52:42 +01:00
phorge-phorge/scripts/init/init-aphlict.php
epriestley 8a3d6071a0 (stable) Allow bin/aphlict to start without a valid database connection
Summary:
Ref T11818. See that task for a description.

This is like a tiny pinch of hackiness but not really unreasonable. Basically, `aphlict` is already an "uber-server" and one copy can handle a ton of instances.

Test Plan: Started `bin/aphlict` without a valid database connection.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11818

Differential Revision: https://secure.phabricator.com/D16854
2016-11-13 16:44:10 -08:00

10 lines
263 B
PHP

<?php
require_once dirname(__FILE__).'/lib.php';
init_phabricator_script(
array(
// NOTE: We allow aphlict to start with no database, because it's
// reasonable to isolate the notification server from other hosts.
'config.optional' => true,
));