From bac1f10ed290de47ec65fac5c87e455fe02f2af1 Mon Sep 17 00:00:00 2001 From: Joshua Fernandes Date: Mon, 15 Jun 2020 13:58:13 +1000 Subject: [PATCH] remove quotes in systemd --- templates/besu.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/besu.service.j2 b/templates/besu.service.j2 index b120a07..566c44c 100644 --- a/templates/besu.service.j2 +++ b/templates/besu.service.j2 @@ -14,7 +14,7 @@ Environment='BESU_OPTS={{besu_env_opts|map('to_json')|join(' ')}}' {% endif %} Type=simple {% if besu_cmdline_args %} -ExecStart=/bin/sh -c "{{ besu_current_dir }}/bin/besu --config-file={{ besu_config_dir }}/config.toml {{besu_cmdline_args|map('to_json')|join(' ')}} >> {{besu_log_dir}}/besu.log 2>&1" +ExecStart=/bin/sh -c "{{ besu_current_dir }}/bin/besu --config-file={{ besu_config_dir }}/config.toml {{besu_cmdline_args|map('to_json')|join(' ')|regex_replace('"','')}} >> {{besu_log_dir}}/besu.log 2>&1" {% else %} ExecStart=/bin/sh -c "{{ besu_current_dir }}/bin/besu --config-file={{ besu_config_dir }}/config.toml >> {{besu_log_dir}}/besu.log 2>&1" {% endif %}