Use LC_ALL to set the UTF-8 codeset in the init.d script file
This commit is contained in:
parent
db02708d44
commit
0123c4e678
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue