Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/configuration/notifications.diviner
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | The configuration file has these settings: | ||||
- `servers`: //Required list.// A list of servers to start. | - `servers`: //Required list.// A list of servers to start. | ||||
- `logs`: //Optional list.// A list of logs to write to. | - `logs`: //Optional list.// A list of logs to write to. | ||||
- `cluster`: //Optional list.// A list of cluster peers. This is an advanced | - `cluster`: //Optional list.// A list of cluster peers. This is an advanced | ||||
feature. | feature. | ||||
- `pidfile`: //Required string.// Path to a PID file. | - `pidfile`: //Required string.// Path to a PID file. | ||||
- `memory.hint`: //Optional int.// Suggestion to `node` about how much | - `memory.hint`: //Optional int.// Suggestion to `node` about how much | ||||
memory to use, via `--max-old-stack-size`. In most cases, this can be | memory to use, via `--max-old-stack-size`. In most cases, this can be | ||||
left unspecified. | left unspecified. | ||||
- `user`: //Optional string.// User that must run the `node` server. | |||||
Be sure you can `sudo` from your current user to this user without password | |||||
for the `node` command. If left unspecified, phabricator will skip the sudo | |||||
part. Since aphlict requires the node server to use low privileges, `user` | |||||
cannot be set to `root`. | |||||
Each server in the `servers` list should be an object with these keys: | Each server in the `servers` list should be an object with these keys: | ||||
- `type`: //Required string.// The type of server to start. Options are | - `type`: //Required string.// The type of server to start. Options are | ||||
`admin` or `client`. Normally, you should run one of each. | `admin` or `client`. Normally, you should run one of each. | ||||
- `port`: //Required int.// The port this server should listen on. | - `port`: //Required int.// The port this server should listen on. | ||||
- `listen`: //Optional string.// Which interface to bind to. By default, | - `listen`: //Optional string.// Which interface to bind to. By default, | ||||
the `admin` server is bound to `127.0.0.1` (so only other services on the | the `admin` server is bound to `127.0.0.1` (so only other services on the | ||||
▲ Show 20 Lines • Show All 186 Lines • Show Last 20 Lines |