Page MenuHomestyx hydra

No OneTemporary

diff --git a/scripts/init/init-aphlict.php b/scripts/init/init-aphlict.php
new file mode 100644
index 0000000000..e2029a0d2a
--- /dev/null
+++ b/scripts/init/init-aphlict.php
@@ -0,0 +1,10 @@
+<?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,
+ ));
diff --git a/support/aphlict/server/aphlict_launcher.php b/support/aphlict/server/aphlict_launcher.php
index f6173fbd6d..af644c58a1 100755
--- a/support/aphlict/server/aphlict_launcher.php
+++ b/support/aphlict/server/aphlict_launcher.php
@@ -1,23 +1,23 @@
#!/usr/bin/env php
<?php
$root = dirname(dirname(dirname(dirname(__FILE__))));
-require_once $root.'/scripts/__init_script__.php';
+require_once $root.'/scripts/init/init-aphlict.php';
PhabricatorAphlictManagementWorkflow::requireExtensions();
$args = new PhutilArgumentParser($argv);
$args->setTagline(pht('manage Aphlict notification server'));
$args->setSynopsis(<<<EOSYNOPSIS
**aphlict** __command__ [__options__]
Manage the Aphlict server.
EOSYNOPSIS
);
$args->parseStandardArguments();
$workflows = id(new PhutilClassMapQuery())
->setAncestorClass('PhabricatorAphlictManagementWorkflow')
->execute();
$workflows[] = new PhutilHelpArgumentWorkflow();
$args->parseWorkflows($workflows);

File Metadata

Mime Type
text/x-diff
Expires
Thu, Nov 6, 9:22 AM (10 m, 6 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
321800
Default Alt Text
(1 KB)

Event Timeline