From bd10b60d7a65bebef6026d83655f10b93d48820c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Fri, 23 Feb 2018 08:15:14 +0000 Subject: [PATCH] Hubs: minor update --- roles/hubs/templates/bashrc | 3 +++ roles/hubs/templates/gunicorn.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/roles/hubs/templates/bashrc b/roles/hubs/templates/bashrc index eaaf5d4c49..93fd757a1a 100644 --- a/roles/hubs/templates/bashrc +++ b/roles/hubs/templates/bashrc @@ -43,3 +43,6 @@ hreset() { python3 populate.py popd } + +# Enable autocomplete for the fedora-hubs command +eval "$(_FEDORA_HUBS_COMPLETE=source fedora-hubs)" diff --git a/roles/hubs/templates/gunicorn.py b/roles/hubs/templates/gunicorn.py index 2fb44c0d0d..1e65b3a003 100644 --- a/roles/hubs/templates/gunicorn.py +++ b/roles/hubs/templates/gunicorn.py @@ -1,3 +1,5 @@ +# flake8:noqa + bind = "127.0.0.1:8000" threads = 12 logconfig = "{{ hubs_conf_dir }}/logging.ini"