Преглед на файлове

added a fix to the upstart command that wasn't setting hte LOCALE correctly, which was causing issues with UTF-8 bundles

Ken Cochrane преди 12 години
родител
ревизия
43875a73a0
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      puppet/modules/docker/templates/dockerd.conf

+ 2 - 1
puppet/modules/docker/templates/dockerd.conf

@@ -7,5 +7,6 @@ start on runlevel [3]
 respawn
 
 script
-    /home/vagrant/dockerd/dockerd
+    test -f /etc/default/locale && . /etc/default/locale || true
+    LANG=$LANG LC_ALL=$LANG /usr/local/bin/dockerd
 end script