11 lines
240 B
Bash
11 lines
240 B
Bash
#!/bin/bash
|
|
|
|
# Needed on C7 for PG95 and pg tools
|
|
source /opt/rh/rh-postgresql95/enable
|
|
|
|
CONF=/opt/odoo/odoo.conf
|
|
ODOOCMD="python /opt/odoo/OCB/odoo.py --config $CONF"
|
|
|
|
# Configuration generation and Odoo launch
|
|
bash genconf.sh && $ODOOCMD
|