Use LC_ALL to set the UTF-8 codeset in the init.d script file

This commit is contained in:
Benjamin Dauvergne 2013-03-01 15:00:50 +01:00
parent db02708d44
commit 0123c4e678
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ DAEMON_ARGS="-D docbow_project.settings.courrier -p $PIDFILE \
SCRIPTNAME=/etc/init.d/$NAME
START_STOP_OPTIONS="--chuid docbow --group docbow"
export PYTHONPATH=/home/docbow/source/
export LANG=fr_FR.UTF-8
export LANG=fr_FR.UTF-8 LC_ALL=fr_FR.UTF-8
if [ -f /etc/gunicorn/$NAME.py ]; then
DAEMON_ARGS="$DAEMON_ARGS -c /etc/gunicorn/$NAME.py"