O'Reilly logo

Odoo Development Cookbook by Daniel Reis, Alexandre Fayolle, Holger Brunn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Set up Odoo as a system service

For a production instance, it is very important that the Odoo server gets started when the computer reboots. On current Linux systems, there are different ways of achieving this, depending on the distribution and the server setup; either it is an init script, or a systemd configuration. This recipe shows how to do both.

Getting ready

We assume that you followed the first two recipes to install and configure your Odoo instance. Especially the deployed source of Odoo, which is at /home/odoo/odoo-prod/project/src/odoo/, and the configuration file of the instance, which is at /home/odoo/odoo-prod/project/production.conf. The scripts also makes use of the start-odoo script created in step 9 of the Install Odoo for production ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required