Repository navigation
Expand file tree
/
Copy pathnode_config.json.example
More file actions
72 lines (72 loc) · 2.05 KB
/
Copy pathnode_config.json.example
File metadata and controls
72 lines (72 loc) · 2.05 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"client_id": "repeater_id",
"mqtt": {
"broker": "127.0.0.1",
"port": 1883,
"user": "mmdvm",
"password": "password",
"base_topic": "servizi/repeater_id",
"keepalive": 15,
"tls": false
},
"paths": {
"file_list": "/opt/fleet-node-agent/file_list.txt",
"process_list": "/opt/fleet-node-agent/process_list.txt",
"last_profile": "/opt/fleet-node-agent/last_profile.txt",
"state_file": "/opt/fleet-node-agent/agent_state.json"
},
"settings": {
"auto_healing": true,
"update_interval": 60,
"usb_reset_id": "",
"gpio_reset_pin": null,
"gpio_reset_auto": true,
"verify_seconds": 8,
"max_offline_seconds": 300,
"exit_on_disconnect": false,
"heal_grace_seconds": 20,
"startup_grace_seconds": 60,
"mask_passwords": true
},
"telegram": {
"enabled": false,
"token": "TOKEN ID",
"chat_id": "CHAT ID",
"quiet_hours": {
"start": 23,
"end": 7
}
},
"profiles": {
"A": {
"label": "Config BM",
"services": [
{
"name": "mmdvmhost.service",
"source": "/etc/MMDVMHost_BM.ini",
"target": "/etc/MMDVMHost.ini"
},
{
"name": "dmrgateway.service",
"source": "/etc/DMRGateway_BM.ini",
"target": "/etc/DMRGateway.ini"
}
]
},
"B": {
"label": "Config PC",
"services": [
{
"name": "mmdvmhost.service",
"source": "/etc/MMDVMHost_PC.ini",
"target": "/etc/MMDVMHost.ini"
},
{
"name": "dmrgateway.service",
"source": "/etc/DMRGateway_PC.ini",
"target": "/etc/DMRGateway.ini"
}
]
}
}
}