comparison src/twisted/plugins/libervia_server.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 6700386291f1
children 530c88c1deee
comparison
equal deleted inserted replaced
511:8843ae9e92bd 512:750db9ff8525
88 88
89 89
90 class LiberviaMaker(object): 90 class LiberviaMaker(object):
91 implements(IServiceMaker, IPlugin) 91 implements(IServiceMaker, IPlugin)
92 92
93 tapname = C.ASCII_APP_NAME 93 tapname = C.APP_NAME_FILE
94 description = _(u'The web frontend of Salut à Toi').encode('utf-8') 94 description = _(u'The web frontend of Salut à Toi').encode('utf-8')
95 options = Options 95 options = Options
96 96
97 def makeService(self, options): 97 def makeService(self, options):
98 return Libervia(**dict(options)) # get rid of the usage.Option overload 98 return Libervia(**dict(options)) # get rid of the usage.Option overload