瀏覽代碼

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
 respawn
 
 
 script
 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
 end script