Remove old uwsgi references

This commit is contained in:
ssamson-tis 2015-07-08 17:37:21 +02:00
parent ebad7373fb
commit a555b5d55c
2 changed files with 4 additions and 10 deletions

View File

@ -1,10 +1,4 @@
[uwsgi] [general]
http = 0.0.0.0:8080
master = true
processes = 1
wsgi=tisbackup_gui:app
chdir=/opt/tisbackup
config_tisbackup= /etc/tis/tisbackup-config.ini config_tisbackup= /etc/tis/tisbackup-config.ini
sections= sections=
spooler=/opt/tisbackup/myspool
ADMIN_EMAIL=technique@tranquil-it-systems.fr ADMIN_EMAIL=technique@tranquil-it-systems.fr

View File

@ -43,9 +43,9 @@ import re
cp = ConfigParser() cp = ConfigParser()
cp.read("/etc/tis/tisbackup_gui.ini") cp.read("/etc/tis/tisbackup_gui.ini")
CONFIG = cp.get('uwsgi','config_tisbackup').split(",") CONFIG = cp.get('general','config_tisbackup').split(",")
SECTIONS = cp.get('uwsgi','sections') SECTIONS = cp.get('general','sections')
ADMIN_EMAIL = cp.get('uwsgi','ADMIN_EMAIL') ADMIN_EMAIL = cp.get('general','ADMIN_EMAIL')
tisbackup_config_file= CONFIG[0] tisbackup_config_file= CONFIG[0]
config_number=0 config_number=0