Created
October 11, 2016 06:00
-
-
Save dperaltab/3f3b3228211fd4c65ad60421be95fb58 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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