rename server

bzr revid: al@openerp.com-20131005221829-a18vx5ag6ef4ufee
This commit is contained in:
Antony Lesuisse 2013-10-06 00:18:29 +02:00
parent 2170da5e1e
commit e6b18fc7aa
4 changed files with 3 additions and 3 deletions

View File

@ -716,7 +716,7 @@ class module(osv.osv):
if already_installed:
# in this case, force server restart to reload python code...
cr.commit()
openerp.service.restart()
openerp.service.server.restart()
return {
'type': 'ir.actions.client',
'tag': 'home',

View File

@ -177,7 +177,7 @@ def main(args):
if not config["stop_after_init"]:
setup_pid_file()
openerp.service.workers.start()
openerp.service.server.start()
if config['pidfile']:
os.unlink(config['pidfile'])
else:

View File

@ -25,7 +25,7 @@ import db
import model
import report
import wsgi_server
import workers
import server
#.apidoc title: RPC Services