Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I'm now able to run 2 differents instances of Odoo on the same computer. How could I change de process name? It is alway « python »...
Thanks for your idea.
Linux/Unix way will be to use
bash -c "exec -a MyUniqueProcessName <command> &"
however, THIS WILL NOT WORK due to the way odoo.py is executed. The shabang in the odoo.py (the #!/usr/bin/env python) is starting an instance of python which overrides the name of the process.
A workaround is to get the PID of the process and store it in a file which you can later use to kill the process you want. Here is the most rudimentary example:
Crate file with name start_as.sh with following content:
echo $odoo_pid >$1
Than you can use
kill `cat mynew.pid`
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 2/20/15, 3:35 PM|
|Seen: 1458 times|
|Last updated: 3/16/15, 8:10 AM|