-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json
More file actions
71 lines (71 loc) · 2.9 KB
/
config.json
File metadata and controls
71 lines (71 loc) · 2.9 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
{
"node-services": {
"basedir": "/home/acryl",
"user": "acryl",
"group": "acryl"
},
"executable": {
"path": "/home/acryl/acryl.jar",
"environment": {
"_JAVA_OPTIONS": ""
},
"args": [
"-Djava.net.preferIPv4Stack=true",
"-Dlogback.configurationFile=/home/acryl/logback.xml",
"-Xms2g",
"-Xmx2g",
"-XX:PermSize=128m",
"-XX:MaxPermSize=128m"
],
"config_file": "/home/acryl/acryl.conf",
"workdir": "/home/acryl/",
"pid_file": "acryl_node.pid",
"logfile": "acryl.log",
"wait_start_timeout": 20,
"wait_stop_timeout": 5,
"data_path": "/home/acryl/acryl"
},
"updates": {
"versions_files": ["https://raw.githubusercontent.com/acrylplatform/node-services-config/master/versions.json"],
"wait_range_seconds": {"min": 60, "max": 1800}
},
"node": {
"init_input_file_name": "node_init.txt",
"init_phrase": "DDCrbrpIzWscMaY9GSMiztJvsHMKx9AVLwmjmeXQBIdsU9UKxCaA3IKkJPtiMxHX",
"init_output_file_name": "init_result.txt",
"wallet_data_file_path": "/home/acryl/acryl_wallet"
},
"network": {
"node": {
"address": "https://ncfnodes.acrylminer.com",
"chain": "mainnet",
"chain_id": "A"
},
"test_servers": [
"https://google.com", "https://ya.ru", "https://facebook.com"
],
"stats_api_addresses": ["https://nodeapi.acrylminer.com/v0/"],
"ip_service_urls": [
{"url": "https://api.ipify.org/?format=json", "param_name": "ip"},
{"url": "https://www.trackip.net/ip?json", "param_name": "IP"},
{"url": "https://api.myip.com/", "param_name": "ip"}
]
},
"user": {
"withdraw_address_file_name": "acryl_wallet.txt",
"withdraw_minimum": 10000000,
"withdraw_fee": 100000
},
"cron": {
"jobs": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
"*/2 * * * * cd /home/acryl && su acryl -c 'node-services check_service' 2>&1 | /usr/bin/logger -t acryl",
"20 * * * * cd /home/acryl && su acryl -c 'node-services withdraw_acryl' 2>&1 | /usr/bin/logger -t acryl",
"30 * * * * cd /home/acryl && /usr/local/bin/node-services update 2>&1 | /usr/bin/logger -t acryl",
"*/1 * * * * cd /home/acryl && su acryl -c 'node-services info' 2>&1 | /usr/bin/logger -t acryl",
"@reboot cd /home/acryl && su acryl -c 'node-services info' 2>&1 | /usr/bin/logger -t acryl",
"@reboot sleep 195; cd /home/acryl && /usr/local/bin/node-services update --force 2>&1 | /usr/bin/logger -t acryl"
],
"crontab_file_path": "/usr/share/acryl/crontab_file"
}
}