Skip to content

Instantly share code, notes, and snippets.

@oriewancu
Created May 6, 2020 03:26
Show Gist options
  • Select an option

  • Save oriewancu/48c777976ba24448d90a518fd773f1b4 to your computer and use it in GitHub Desktop.

Select an option

Save oriewancu/48c777976ba24448d90a518fd773f1b4 to your computer and use it in GitHub Desktop.
Run odoo source as service in ubuntu 18.04 / 16.04
[Unit]
Description=Odoo12
Documentation=https://www.odoo.com
[Service]
Type=simple
User=ansori
ExecStart=/usr/bin/python3 /home/ansori/Projects/odoo12/odoo-bin -c /home/ansori/Projects/odoo12/odoo.conf
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment