From f21ba5573bed9b66a3015db27345277c606f5e39 Mon Sep 17 00:00:00 2001 From: TheTrunk Date: Mon, 6 May 2019 12:15:39 +0200 Subject: [PATCH] fix extract command and parameters download --- configs/coins/zelcash.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/coins/zelcash.json b/configs/coins/zelcash.json index 66b78544..6d719d28 100644 --- a/configs/coins/zelcash.json +++ b/configs/coins/zelcash.json @@ -26,11 +26,11 @@ "binary_url": "https://github.com/zelcash/zelcash/releases/download/v3.1.1/ZelCash-Linux.tar.gz", "verification_type": "sha256", "verification_source": "513101f44f3f6d40182c108fd8bf5c7a0336022173abd13ca24758776b2ee0d3", - "extract_command": "tar -C backend --strip 1 -xf", + "extract_command": "tar -C backend -xf", "exclude_files": [], "exec_command_template": "{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/zelcashd -datadir={{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend -conf={{.Env.BackendInstallPath}}/{{.Coin.Alias}}/{{.Coin.Alias}}.conf -pid=/run/{{.Coin.Alias}}/{{.Coin.Alias}}.pid", "logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/*.log", - "postinst_script_template": "HOME={{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend {{.Env.BackendInstallPath}}/{{.Coin.Alias}}/fetch-params", + "postinst_script_template": "HOME={{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend {{.Env.BackendInstallPath}}/{{.Coin.Alias}}/fetch-params.sh", "service_type": "forking", "service_additional_params_template": "Environment=\"HOME={{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend\"", "protect_memory": false,