Skip to content

Instantly share code, notes, and snippets.

@bitodoo
Last active November 9, 2017 19:24
Show Gist options
  • Save bitodoo/189ebab99d73644cc4b6afedc00f3253 to your computer and use it in GitHub Desktop.
Save bitodoo/189ebab99d73644cc4b6afedc00f3253 to your computer and use it in GitHub Desktop.
#!/bin/bash
# run this as the odoo* user!
# create dir logs
WDIR=/opt/odev10/log
# path virtualenv
VIRTUALENV_DIR=/opt/odev10/virt_odev10
source $VIRTUALENV_DIR/bin/activate
cd $WDIR
odoo -c /opt/odev10/.odoorc 1> error.log 2> debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment