Merge pull request #24 from joshuafernandes/remove-quotes

remove quotes in systemd
pull/25/head 0.2.2
Joshua Fernandes 5 years ago committed by GitHub
commit ba5538d91c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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 %}

Loading…
Cancel
Save