3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ git pull
30
30
# Stop daemons.
31
31
$ROOT /phabricator/bin/phd stop
32
32
33
+ # If running the notification server, stop it.
34
+ # $ROOT/phabricator/bin/aphlict stop
35
+
33
36
# Stop the webserver (apache, nginx, lighttpd, etc). This command will differ
34
37
# depending on which system and webserver you are running: replace it with an
35
38
# appropriate command for your system.
@@ -48,3 +51,6 @@ sudo /etc/init.d/httpd start
48
51
49
52
# Restart daemons.
50
53
$ROOT /phabricator/bin/phd start
54
+
55
+ # If running the notification server, start it.
56
+ # $ROOT/phabricator/bin/aphlict start
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ protected function executeChecks() {
37
37
->addRelatedPhabricatorConfig ('notification.server-uri ' )
38
38
->addCommand (
39
39
pht (
40
- "(To start or restart the server, run this command.) \n" .
41
- "phabricator/ $ sudo ./bin/aphlict " ));
40
+ "(To start the server, run this command.) \n" .
41
+ "phabricator/ $ sudo ./bin/aphlict start " ));
42
42
43
43
return ;
44
44
}
@@ -57,7 +57,7 @@ protected function executeChecks() {
57
57
->setShortName (pht ('Notification Server Version ' ))
58
58
->setName (pht ('Notification Server Out of Date ' ))
59
59
->setMessage ($ message )
60
- ->addCommand ('phabricator/ $ sudo ./bin/aphlict ' );
60
+ ->addCommand ('phabricator/ $ sudo ./bin/aphlict start ' );
61
61
}
62
62
63
63
}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ Phabricator implements realtime notifications using a Node.js server called
26
26
"Aphlict". To run it:
27
27
28
28
- Install node.js.
29
- - Run `bin/aphlict` (this script must be run as root).
29
+ - Run `bin/aphlict start ` (this script must be run as root).
30
30
31
31
The server must be able to listen on port **843** and port **22280** for Aphlict
32
32
to work. You can change the latter port in the `notification.client-uri` config,
@@ -67,7 +67,7 @@ NOTE: This is cumbersome. There will be better testing tools at some point.
67
67
68
68
You can run `aphlict` in the foreground to get output to your console:
69
69
70
- phabricator/ $ sudo ./bin/aphlict --foreground
70
+ phabricator/ $ sudo ./bin/aphlict debug
71
71
72
72
You can run `support/aphlict/client/aphlict_test_client.php` to connect to the
73
73
Aphlict server from the command line. Messages the client receives will be
0 commit comments