- in many case, no need http when run with argument stop-after-init, because we want to execute without gui
8 lines
327 B
Bash
Executable file
8 lines
327 B
Bash
Executable file
#!/usr/bin/env bash
|
|
if [ $# -lt 1 ]; then
|
|
# TODO: print usage
|
|
echo "Missing database name"
|
|
exit 1
|
|
fi
|
|
source ./.venv/bin/activate
|
|
python3 ./odoo/odoo-bin -c ./config.conf --limit-time-real 99999 --limit-time-cpu 99999 --no-http --stop-after-init -i user_test,disable_mail_server,disable_auto_backup --dev prod -d $@
|