Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/configuration/notifications.diviner
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | The configuration file has these settings: | ||||
- `pidfile`: //Required string.// Path to a PID file. | - `pidfile`: //Required string.// Path to a PID file. | ||||
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 localhost (so only other services on the | the `admin` server is bound to `127.0.0.1` (so only other services on the | ||||
local machine can connect to it), while the `client` server is bound | local machine can connect to it), while the `client` server is bound | ||||
to `0.0.0.0` (so any client can connect. | to `0.0.0.0` (so any client can connect). | ||||
- `ssl.key`: //Optional string.// If you want to use SSL on this port, | - `ssl.key`: //Optional string.// If you want to use SSL on this port, | ||||
the path to an SSL key. | the path to an SSL key. | ||||
- `ssl.cert`: //Optional string.// If you want to use SSL on this port, | - `ssl.cert`: //Optional string.// If you want to use SSL on this port, | ||||
the path to an SSL certificate. | the path to an SSL certificate. | ||||
- `ssl.chain`: //Optional string.// If you have configured SSL on this | |||||
port, an optional path to a certificate chain file. | |||||
Each log in the `logs` list should be an object with these keys: | Each log in the `logs` list should be an object with these keys: | ||||
- `path`: //Required string.// Path to the log file. | - `path`: //Required string.// Path to the log file. | ||||
The defaults are appropriate for simple cases, but you may need to adjust them | The defaults are appropriate for simple cases, but you may need to adjust them | ||||
if you are running a more complex configuration. | if you are running a more complex configuration. | ||||
▲ Show 20 Lines • Show All 160 Lines • Show Last 20 Lines |