Skip to content

Instantly share code, notes, and snippets.

@dperaltab
Created October 11, 2016 06:00
Show Gist options
  • Save dperaltab/3f3b3228211fd4c65ad60421be95fb58 to your computer and use it in GitHub Desktop.
Save dperaltab/3f3b3228211fd4c65ad60421be95fb58 to your computer and use it in GitHub Desktop.
#!/bin/bash
# run this as the odoo* user!
# create dir logs
WDIR=/opt/odoo/log
# path virtualenv
VIRTUALENV_DIR=/opt/odoo/odoo_git
source $VIRTUALENV_DIR/bin/activate
cd $WDIR
#openerp-server -c /opt/odoo8git/config-odoo/.openerp_serverrc 1> debug.log 2> error.log
gunicorn openerp:service.wsgi_server.application -c /opt/odoo/config-odoo/openerp-wsgi.py 1> debug.log 2> error.log
#odoo.py -c /opt/odoo/config-odoo/.openerp_serverrc 1> debug.log 2> error.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment