Mercurial > libervia-web
comparison src/server/constants.py @ 512:750db9ff8525
server side: launching script improvments:
- no more difference between installed version and source version: libervia is a deamon by defaut, "fg" must be used to launch it foreground
- fixed bad constants module imported in python part of libervia.sh
- fixed stdout encoding in python part of libervia.sh
- APP_NAME and APP_NAME_FILE use the constants module values
- DATA_DIR variable moved to PLUGIN_OPTIONS
- (constants) ASCII_APP_NAME renamed to APP_NAME_FILE to be consistent with SàT backend.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 24 Aug 2014 18:43:45 +0200 |
parents | c4d6d1254ec1 |
children | 471b6babe960 |
comparison
equal
deleted
inserted
replaced
511:8843ae9e92bd | 512:750db9ff8525 |
---|---|
25 | 25 |
26 | 26 |
27 class Const(constants.Const): | 27 class Const(constants.Const): |
28 | 28 |
29 APP_NAME = 'Libervia' | 29 APP_NAME = 'Libervia' |
30 ASCII_APP_NAME = "libervia" | 30 APP_NAME_FILE = "libervia" |
31 SERVICE_PROFILE = 'libervia' # the SàT profile that is used for exporting the service | 31 SERVICE_PROFILE = 'libervia' # the SàT profile that is used for exporting the service |
32 | 32 |
33 TIMEOUT = 300 # Session's time out, after that the user will be disconnected | 33 TIMEOUT = 300 # Session's time out, after that the user will be disconnected |
34 HTML_DIR = "html/" | 34 HTML_DIR = "html/" |
35 SERVER_CSS_DIR = "server_css/" | 35 SERVER_CSS_DIR = "server_css/" |