diff --git a/build/templates/backend/config/decred.conf b/build/templates/backend/config/decred.conf new file mode 100644 index 00000000..aa8584b4 --- /dev/null +++ b/build/templates/backend/config/decred.conf @@ -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 }} diff --git a/build/templates/backend/config/decred_client.conf b/build/templates/backend/config/decred_client.conf new file mode 100644 index 00000000..5878538d --- /dev/null +++ b/build/templates/backend/config/decred_client.conf @@ -0,0 +1,7 @@ +{{define "main" -}} +[Application Options] +rpcuser=rpc +rpcpass=rpc +rpcserver=127.0.0.1:{{.Ports.BackendRPC}} +notls=1 +{{ end }} diff --git a/configs/coins/decred.json b/configs/coins/decred.json index 6c367295..64f57dda 100644 --- a/configs/coins/decred.json +++ b/configs/coins/decred.json @@ -28,15 +28,15 @@ "verification_source": "36375985df1ba9a45bc11b4f6cdaed4f14ff6e5e9c46e17ef6e4f70a3349aba2", "extract_command": "tar -C backend --strip 1 -xf", "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", "postinst_script_template": "", "service_type": "simple", "service_additional_params_template": "", "protect_memory": false, "mainnet": true, - "server_config_file": "bitcoin_like.conf", - "client_config_file": "bitcoin_like_client.conf", + "server_config_file": "decred.conf", + "client_config_file": "decred_client.conf", "additional_params": { "rpcmaxclients": 16, "upnp": 0,