Set domain if this is a web app

This commit is contained in:
Bob Mottram 2018-04-08 18:06:37 +01:00
parent 57ab82d129
commit ab63f891ba
1 changed files with 3 additions and 1 deletions

View File

@ -943,7 +943,9 @@ if [ $app_webui ]; then
fi fi
echo '' echo ''
echo " \"\${PROJECT_NAME}-pass\" -u \"\$MY_USERNAME\" -a ${app_name} -p \"\$${app_name_upper}_ADMIN_PASSWORD\"" 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 if [ "$app_port" ]; then
echo '' echo ''
echo " firewall_add ${app_name} ${app_port} tcp" echo " firewall_add ${app_name} ${app_port} tcp"