-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.json
83 lines (83 loc) · 2.54 KB
/
config.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
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
73
74
75
76
77
78
79
80
81
82
83
{
"cs2kz_autoupdate": {
"webhook_url": "https://discord.com/api/webhooks/your_webhook_id/your_webhook_token",
"repo_dir": "/home/user/server-tools/cs2kz-metamod/",
"upstream_repo": "git@github.com:KZGlobalTeam/cs2kz-metamod",
"upstream_branch": "dev",
"local_branch": "dev",
"files_to_check": ["cs2kz-server-config.txt", "cs2kz.cfg"],
"enable_logging": true,
"log_file": "/home/user/server-tools/cs2kz-autoupdate.log",
"build_log_file": "/home/user/server-tools/cs2kz-autoupdate-build.log",
"update_check_interval": 300,
"enable_builds": true,
"auto_update": false,
"servers_to_update": [
{
"folder": "/home/localuser/serverfiles/game/csgo/addons/cs2kz/",
"user": "localuser",
"address": "192.168.1.1:27015",
"type": "local"
},
{
"folder": "/home/remoteuser1/serverfiles/game/csgo/addons/cs2kz/",
"user": "remoteuser1",
"address": "192.168.1.2:27015",
"type": "remote_key",
"ssh_key": "/path/to/private_key",
"ssh_port": "22",
"ssh_address": "192.168.1.2"
},
{
"folder": "/home/remoteuser2/serverfiles/game/csgo/addons/cs2kz/",
"user": "remoteuser2",
"address": "192.168.1.2:27015",
"type": "remote_pass",
"ssh_port": "22",
"ssh_address": "192.168.1.2",
"ssh_pass": "your_ssh_password"
},
{
"folder": "/addons/cs2kz/",
"user": "remoteuser3",
"address": "192.168.1.2:27015",
"type": "remote_ftp",
"ssh_port": "21",
"ssh_address": "192.168.1.2",
"ssh_pass": "your_ssh_password"
}
]
},
"lgsm_update": {
"webhook_url": "https://discord.com/api/webhooks/your_webhook_id/your_webhook_token",
"enable_logging": true,
"log_file": "/home/user/server-tools/cs2-lgsm-autoupdate.log",
"update_check_interval": 300,
"update_check_user": "localuser",
"auto_update": true,
"game": "cs2",
"servers_to_update": [
{
"user": "localuser",
"address": "192.168.1.1:27015",
"type": "local"
},
{
"user": "remoteuser1",
"address": "192.168.1.2:27015",
"type": "remote_key",
"ssh_key": "/path/to/private_key",
"ssh_port": "22",
"ssh_address": "192.168.1.2"
},
{
"user": "remoteuser2",
"address": "192.168.1.2:27015",
"type": "remote_pass",
"ssh_port": "22",
"ssh_address": "192.168.1.2",
"ssh_pass": "your_ssh_password"
}
]
}
}