rename server
bzr revid: al@openerp.com-20131005221829-a18vx5ag6ef4ufee
This commit is contained in:
parent
2170da5e1e
commit
e6b18fc7aa
|
@ -716,7 +716,7 @@ class module(osv.osv):
|
||||||
if already_installed:
|
if already_installed:
|
||||||
# in this case, force server restart to reload python code...
|
# in this case, force server restart to reload python code...
|
||||||
cr.commit()
|
cr.commit()
|
||||||
openerp.service.restart()
|
openerp.service.server.restart()
|
||||||
return {
|
return {
|
||||||
'type': 'ir.actions.client',
|
'type': 'ir.actions.client',
|
||||||
'tag': 'home',
|
'tag': 'home',
|
||||||
|
|
|
@ -177,7 +177,7 @@ def main(args):
|
||||||
|
|
||||||
if not config["stop_after_init"]:
|
if not config["stop_after_init"]:
|
||||||
setup_pid_file()
|
setup_pid_file()
|
||||||
openerp.service.workers.start()
|
openerp.service.server.start()
|
||||||
if config['pidfile']:
|
if config['pidfile']:
|
||||||
os.unlink(config['pidfile'])
|
os.unlink(config['pidfile'])
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -25,7 +25,7 @@ import db
|
||||||
import model
|
import model
|
||||||
import report
|
import report
|
||||||
import wsgi_server
|
import wsgi_server
|
||||||
import workers
|
import server
|
||||||
|
|
||||||
#.apidoc title: RPC Services
|
#.apidoc title: RPC Services
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue