Thursday, September 11, 2014

Automating OpenERP Startup and Shutdown

Automating OpenERP Startup and Shutdown



After successful installation of openERP7.0 following instructions on http://ujwalafossist.blogspot.in/2014/09/install-openerp-7-on-ubuntu-1204.html

If You want to automate the process of OpenERP server.

If each step from 1 to 8 at  http://ujwalafossist.blogspot.in/2014/09/install-openerp-7-on-ubuntu-1204.html seems to be working OK, the final step is make the script start and stop automatically with the Ubuntu Server. To do this type:

sudo update-rc.d openerp-server defaults

You can now try rebooting your server if you like. OpenERP should be running by the time you log back in.

If you type :
ps aux | grep openerp

you should see a line similar to this:

openerp   3943  0.0  0.2 475308  7948 ?  Sl   10:40   0:04 python /opt/openerp/server/openerp-server -c /etc/openerp-server.conf


Which shows that the server is running. And you can check the logfile or visit the server from your web browser too.

******************************************************

Thanks
Ujwala H. Pawade.

!!!! Freedom Matters Not The Cost !!!! 

No comments:

Post a Comment