Skip to content

Commit

Permalink
Merge branch '8.0.2.0' of github.com:Elico-Corp/odoo-docker into 9.0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
seb-elico committed Oct 27, 2017
2 parents 654fc2c + fab6a04 commit 42dcf74
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=9.0 \
BINARY_NAME=openerp-server
PYTHON_BIN=python \
SERVICE_BIN=openerp-server

# 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 42dcf74

Please sign in to comment.