From 0123c4e6780d19078cf3e96f83ae2f1a4d660712 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 1 Mar 2013 15:00:50 +0100 Subject: [PATCH] Use LC_ALL to set the UTF-8 codeset in the init.d script file --- tools/docbow.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/docbow.init b/tools/docbow.init index be0d4ce..933c599 100755 --- a/tools/docbow.init +++ b/tools/docbow.init @@ -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"