[REVERT] openerp-server: revert partial change from commit 2397 that should not have gone through - need to find cleaner way of shutting down server
bzr revid: odo@openerp.com-20100624084009-0g9rozjaay5m26km
This commit is contained in:
parent
162c7b50ae
commit
5696ed3785
|
@ -176,8 +176,7 @@ def handler(signum, _):
|
||||||
logger.notifyChannel('shutdown', netsvc.LOG_INFO,
|
logger.notifyChannel('shutdown', netsvc.LOG_INFO,
|
||||||
"Shutdown Server! - %s" % ( SIGNALS[signum], ))
|
"Shutdown Server! - %s" % ( SIGNALS[signum], ))
|
||||||
logger.shutdown()
|
logger.shutdown()
|
||||||
#sys.exit(0)
|
sys.exit(0)
|
||||||
os._exit(0)
|
|
||||||
|
|
||||||
for signum in SIGNALS:
|
for signum in SIGNALS:
|
||||||
signal.signal(signum, handler)
|
signal.signal(signum, handler)
|
||||||
|
|
Loading…
Reference in New Issue