From a555b5d55c0d6c3e8776619bce2201e72e11ac98 Mon Sep 17 00:00:00 2001 From: ssamson-tis Date: Wed, 8 Jul 2015 17:37:21 +0200 Subject: [PATCH] Remove old uwsgi references --- samples/tisbackup_gui.ini | 8 +------- tisbackup_gui.py | 6 +++--- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/samples/tisbackup_gui.ini b/samples/tisbackup_gui.ini index e679553..fb9e2a5 100644 --- a/samples/tisbackup_gui.ini +++ b/samples/tisbackup_gui.ini @@ -1,10 +1,4 @@ -[uwsgi] -http = 0.0.0.0:8080 -master = true -processes = 1 -wsgi=tisbackup_gui:app -chdir=/opt/tisbackup +[general] config_tisbackup= /etc/tis/tisbackup-config.ini sections= -spooler=/opt/tisbackup/myspool ADMIN_EMAIL=technique@tranquil-it-systems.fr diff --git a/tisbackup_gui.py b/tisbackup_gui.py index 3de324a..6934e2f 100755 --- a/tisbackup_gui.py +++ b/tisbackup_gui.py @@ -43,9 +43,9 @@ import re cp = ConfigParser() cp.read("/etc/tis/tisbackup_gui.ini") -CONFIG = cp.get('uwsgi','config_tisbackup').split(",") -SECTIONS = cp.get('uwsgi','sections') -ADMIN_EMAIL = cp.get('uwsgi','ADMIN_EMAIL') +CONFIG = cp.get('general','config_tisbackup').split(",") +SECTIONS = cp.get('general','sections') +ADMIN_EMAIL = cp.get('general','ADMIN_EMAIL') tisbackup_config_file= CONFIG[0] config_number=0