From ab63f891bafd61a8a5598fea2f85677a630c04f8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 8 Apr 2018 18:06:37 +0100 Subject: [PATCH] Set domain if this is a web app --- src/freedombone-template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/freedombone-template b/src/freedombone-template index 0039ded5..2974faee 100755 --- a/src/freedombone-template +++ b/src/freedombone-template @@ -943,7 +943,9 @@ if [ $app_webui ]; then fi echo '' echo " \"\${PROJECT_NAME}-pass\" -u \"\$MY_USERNAME\" -a ${app_name} -p \"\$${app_name_upper}_ADMIN_PASSWORD\"" -echo " set_completion_param \"${app_name} domain\" \"\$${app_name_upper}_DOMAIN_NAME\"" +if [ $app_webui ]; then + echo " set_completion_param \"${app_name} domain\" \"\$${app_name_upper}_DOMAIN_NAME\"" +fi if [ "$app_port" ]; then echo '' echo " firewall_add ${app_name} ${app_port} tcp"