Ver Fonte

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

Ken Cochrane há 12 anos atrás
pai
commit
43875a73a0
1 ficheiros alterados com 2 adições e 1 exclusões
  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