Community mailing list archives

Re: stop odoo using rpc api??

- 08/01/2016 08:32:30
2016-08-01 13:42 GMT+02:00 Alexandre Fayolle <>:
> The well defined procedure is running with root priviledge
> "/etc/init.d/odoo stop" (or equivalent if you're using systemd or upstart)

agree. Between good practice and practical bad, Odoo has chosen ;-)

> The way this command is implemented (typically sending a SIGINT signal)
> is irrelevant.

but, behind the landscape, is the exit instruction different from a
SIGINT signal sent to the process ?
You may program a graceful shutdown, for exemple warn the connected
users, at the end it will always be a mater of killing the process,
won't it ? Freeing resources, killing sub-processes are already part
of process kill.