Browse Source

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 năm trước cách đây
mục cha
commit
43875a73a0
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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