From 36873ba5164c1423d65a08aa90bd85968eebd50b Mon Sep 17 00:00:00 2001 From: Edward Evans Date: Fri, 15 May 2020 17:05:59 +1000 Subject: [PATCH] Use better testing for if we have a variable with a setting Signed-off-by: Edward Evans --- 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 af91627..9a36a96 100644 --- a/templates/besu.service.j2 +++ b/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