In this post, I will explain how we can create multiple Odoo services in a Windows Server.
Step 1
First, you need to get the executable file from the Odoo link mentioned below Or open the already existing executable file.
https://www.odoo.com/page/download
If you are running the executable file for the second time uncheck Postgres installation since it is already done in the first install.
Keep a note of your installation path.
Step 2
Go to the below path where "Odoo 12.0 Test" is the directory your new installation files belong to:
C:\Program Files (x86)\Odoo 12.0 Test\nssm\win64\
Open the command prompt and type the below command:
nssm install odoo-server-TEST
A User Interface similar to the image below will popup, you have to fill the three empty fields with values I mentioned below
Arguments : "C:\Program Files (x86)\Odoo 12.0 Test\server\odoo-bin"
The service will be created in the windows service section, now you can stop, start or restart the Odoo service easily.
Comments
Post a Comment