docker_images/odoo/flectra/launch.dev.sh

16 lines
333 B
Bash
Raw Normal View History

2018-11-06 17:32:00 +01:00
#!/bin/bash
CONF=/opt/flectra/flectra.conf
FLECTRACMD="/opt/flectra/flectra/flectra-bin --config $CONF"
if [ $LOAD ]; then
FLECTRACMD="$FLECTRACMD --load=$LOAD"
fi
if [ "$DEV" == 1 ]; then
FLECTRACMD="$FLECTRACMD --dev all --log-handler :DEBUG"
fi
# Configuration generation and Flectra launch
bash genconf.sh && $FLECTRACMD