-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.json
47 lines (39 loc) · 1.05 KB
/
example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"README": [
"This configuration MUST be valid JSON data.",
"",
"Nonoptional values (i.e. must be present) are:",
" pool_directory",
" services_file",
" poll_interval",
" service_timeout",
"",
"Time values are in milliseconds."
],
"pool_directory": "/run/pool",
"services_file": "/etc/pollbal.services",
"poll_interval": "<time>",
"service_timeout": "<time>",
"pool_warning_interval": "<time>",
"remote_config_url": "<url>",
"remote_config_interval": "<time>",
"active_services": [
{ "pool_name": {
"version": "<version>",
"required": "<int>"
} },
{ "another_pool_name": {
"version": "<version>",
"required": "<int>"
} }
],
"SHELL HOOKS": [
"Hooks for external commands are fully optional.",
"Empty array will disable the hook."
],
"pre_init_hook": ["Example:"],
"post_init_hook": ["cmd", "arg1", "arg2", "..."],
"pre_quit_hook": [],
"file_update_hook": [],
"file_remove_hook": []
}