Page MenuHomePhabricator

D9398.id.diff
No OneTemporary

D9398.id.diff

diff --git a/scripts/install/update_phabricator.sh b/scripts/install/update_phabricator.sh
--- a/scripts/install/update_phabricator.sh
+++ b/scripts/install/update_phabricator.sh
@@ -30,6 +30,9 @@
# Stop daemons.
$ROOT/phabricator/bin/phd stop
+# If running the notification server, stop it.
+# $ROOT/phabricator/bin/aphlict stop
+
# Stop the webserver (apache, nginx, lighttpd, etc). This command will differ
# depending on which system and webserver you are running: replace it with an
# appropriate command for your system.
@@ -48,3 +51,6 @@
# Restart daemons.
$ROOT/phabricator/bin/phd start
+
+# If running the notification server, start it.
+# $ROOT/phabricator/bin/aphlict start
diff --git a/src/applications/notification/setup/PhabricatorSetupCheckAphlict.php b/src/applications/notification/setup/PhabricatorSetupCheckAphlict.php
--- a/src/applications/notification/setup/PhabricatorSetupCheckAphlict.php
+++ b/src/applications/notification/setup/PhabricatorSetupCheckAphlict.php
@@ -37,8 +37,8 @@
->addRelatedPhabricatorConfig('notification.server-uri')
->addCommand(
pht(
- "(To start or restart the server, run this command.)\n".
- "phabricator/ $ sudo ./bin/aphlict"));
+ "(To start the server, run this command.)\n".
+ "phabricator/ $ sudo ./bin/aphlict start"));
return;
}
@@ -57,7 +57,7 @@
->setShortName(pht('Notification Server Version'))
->setName(pht('Notification Server Out of Date'))
->setMessage($message)
- ->addCommand('phabricator/ $ sudo ./bin/aphlict');
+ ->addCommand('phabricator/ $ sudo ./bin/aphlict start');
}
}
diff --git a/src/docs/user/userguide/notifications.diviner b/src/docs/user/userguide/notifications.diviner
--- a/src/docs/user/userguide/notifications.diviner
+++ b/src/docs/user/userguide/notifications.diviner
@@ -26,7 +26,7 @@
"Aphlict". To run it:
- Install node.js.
- - Run `bin/aphlict` (this script must be run as root).
+ - Run `bin/aphlict start` (this script must be run as root).
The server must be able to listen on port **843** and port **22280** for Aphlict
to work. You can change the latter port in the `notification.client-uri` config,
@@ -67,7 +67,7 @@
You can run `aphlict` in the foreground to get output to your console:
- phabricator/ $ sudo ./bin/aphlict --foreground
+ phabricator/ $ sudo ./bin/aphlict debug
You can run `support/aphlict/client/aphlict_test_client.php` to connect to the
Aphlict server from the command line. Messages the client receives will be

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 27, 5:28 AM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6717411
Default Alt Text
D9398.id.diff (2 KB)

Event Timeline