add decred.conf (#292)
* Update decred.json change config path to decred.conf * Create decred.conf * Create decred_client.conf * Update decred.json * Update decred.conf * Update decred.conf * Update decred_client.conf
This commit is contained in:
parent
d4a7fcabd9
commit
28a8641c8e
10
build/templates/backend/config/decred.conf
Normal file
10
build/templates/backend/config/decred.conf
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{{define "main" -}}
|
||||||
|
[Application Options]
|
||||||
|
nofilelogging=1
|
||||||
|
notls=1
|
||||||
|
txindex=1
|
||||||
|
addrindex=1
|
||||||
|
rpcuser={{.IPC.RPCUser}}
|
||||||
|
rpcpass={{.IPC.RPCPass}}
|
||||||
|
rpclisten=[127.0.0.1]:{{.Ports.BackendRPC}}
|
||||||
|
{{ end }}
|
||||||
7
build/templates/backend/config/decred_client.conf
Normal file
7
build/templates/backend/config/decred_client.conf
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{{define "main" -}}
|
||||||
|
[Application Options]
|
||||||
|
rpcuser=rpc
|
||||||
|
rpcpass=rpc
|
||||||
|
rpcserver=127.0.0.1:{{.Ports.BackendRPC}}
|
||||||
|
notls=1
|
||||||
|
{{ end }}
|
||||||
@ -28,15 +28,15 @@
|
|||||||
"verification_source": "36375985df1ba9a45bc11b4f6cdaed4f14ff6e5e9c46e17ef6e4f70a3349aba2",
|
"verification_source": "36375985df1ba9a45bc11b4f6cdaed4f14ff6e5e9c46e17ef6e4f70a3349aba2",
|
||||||
"extract_command": "tar -C backend --strip 1 -xf",
|
"extract_command": "tar -C backend --strip 1 -xf",
|
||||||
"exclude_files": [],
|
"exclude_files": [],
|
||||||
"exec_command_template": "{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/dcrd --datadir={{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --rpcuser={{.IPC.RPCUser}} --rpcpass={{.IPC.RPCPass}} -C={{.Env.BackendDataPath}}/{{.Coin.Alias}}/dcrd.conf --nofilelogging --appdata={{.Env.BackendDataPath}}/{{.Coin.Alias}} --notls --txindex --addrindex --rpclisten=[127.0.0.1]:8061",
|
"exec_command_template": "{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/dcrd --datadir={{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --appdata={{.Env.BackendDataPath}}/{{.Coin.Alias}} -C={{.Env.BackendInstallPath}}/{{.Coin.Alias}}/{{.Coin.Alias}}.conf",
|
||||||
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/*.log",
|
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/*.log",
|
||||||
"postinst_script_template": "",
|
"postinst_script_template": "",
|
||||||
"service_type": "simple",
|
"service_type": "simple",
|
||||||
"service_additional_params_template": "",
|
"service_additional_params_template": "",
|
||||||
"protect_memory": false,
|
"protect_memory": false,
|
||||||
"mainnet": true,
|
"mainnet": true,
|
||||||
"server_config_file": "bitcoin_like.conf",
|
"server_config_file": "decred.conf",
|
||||||
"client_config_file": "bitcoin_like_client.conf",
|
"client_config_file": "decred_client.conf",
|
||||||
"additional_params": {
|
"additional_params": {
|
||||||
"rpcmaxclients": 16,
|
"rpcmaxclients": 16,
|
||||||
"upnp": 0,
|
"upnp": 0,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user