ODOO auto-startup Script
ODOO auto-startup ScriptHello Community, As we know OpenERP(v7) / ODOO(v8) is an open source suit of ERP business applications. We will guide you how you can easily create auto-startup script of ODOO(v8). Open the Terminal First by Pressing CTRL+T Keys. Now proceed as per the following steps to create auto-startup script for V8 (odoo): 1. Create the LOG file and give permissions.
2. Copying INIT and CONF files to related directory and giving permissions. (NOTE: The files will be in your /odoo/debian/ Directory)
sudo nano /var/log/odoo-server.log sudo chmod 777 /var/log/odoo-server.log
3. Editing CONF file. (NOTE: Edit this file according your db user, db password and addons path)
sudo cp /home/serpentcs/odoo/debian/openerp-server.conf /etc/odoo-server.conf sudo cp /home/serpentcs/odoo/debian/init /etc/init.d/odoo-server sudo chmod 755 /etc/odoo-server.conf sudo chmod 755 /etc/init.d/odoo-serve
sudo nano /etc/odoo-server.conf
[options] ; This is the password that allows database operations: ; admin_passwd = admin db_host = localhost db_port = 5432 db_user = serpentcs db_password = serpentcs addons_path = /home/serpentcs/odoo/addons/Then press ctrl+x to EXIT and save the file. 4. Editing init file. (NOTE: need to change DAEMON, NAME, DESC, CONFIG, LOGFILE and USER)
sudo nano /etc/init.d/odoo-server
DAEMON=/home/serpentcs/odoo/openerp-server NAME=odoo-server DESC=odoo-server CONFIG=/etc/odoo-server.conf LOGFILE=/var/log/odoo-server.log USER=serpentcs(NOTE: DEAMON path and USER will be set according to your system PATH and USER) 5. Starting the service of odoo-server.
6. Checking the running service of odoo-server.
sudo /etc/init.d/odoo-server start
7. Opening the web-console of odoo-server, by typing 0.0.0.0:8069 in the address bar of your browser.
ps -ax | grep odoo-server
We hope this above-mentioned procedure has helped you setting up your Odoo/OpenERP instance with ease. Feel free to Contact SerpentCS for any of the services like Training, Migration, Development, Installation and Implementation. Thanks, Keyur Bhatt