Skip to content

Commit

Permalink
Merge branch '8.0.2.0' of github.com:Elico-Corp/odoo-docker into 10.0…
Browse files Browse the repository at this point in the history
….2.0
  • Loading branch information
seb-elico committed Oct 27, 2017
2 parents 5188015 + fab6a04 commit 5f615b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ MAINTAINER Elico Corp <[email protected]>

# Define build constants
ENV GIT_BRANCH=10.0 \
BINARY_NAME=odoo-bin
PYTHON_BIN=python \
SERVICE_BIN=odoo-bin

# Set timezone to UTC
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime
Expand Down
4 changes: 2 additions & 2 deletions bin/boot
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ function start {
if [ ! -e $1 ]; then
echo $log_src[`date +%F.%H:%M:%S`]' ...with additional args:' $*
fi
sudo -i -u "$odoo_user" python \
"/opt/odoo/sources/odoo/$BINARY_NAME" -c "$odoo_conf_file" $*
sudo -i -u "$odoo_user" "$PYTHON_BIN" \
"/opt/odoo/sources/odoo/$SERVICE_BIN" -c "$odoo_conf_file" $*
}

# Run command
Expand Down

0 comments on commit 5f615b8

Please sign in to comment.