Use better testing for if we have a variable with a setting

Signed-off-by: Edward Evans <edward.evans@consensys.net>
pull/18/head
Edward Evans 5 years ago
parent d53f7d1e17
commit 36873ba516
No known key found for this signature in database
GPG Key ID: D043D2B173BC2484
  1. 2
      templates/besu.service.j2

@ -9,7 +9,7 @@ Environment=HOME=/home/{{ besu_user }}
{% if besu_log4j_config_file %}
Environment=LOG4J_CONFIGURATION_FILE={{ besu_log4j_config_file }}
{% endif %}
{% if besu_env_opts|bool %}
{% if besu_env_opts %}
Environment='BESU_OPTS={{ besu_env_opts|besu_opts_format }}'
{% endif %}
Type=simple

Loading…
Cancel
Save