<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hs_hachi</author_name>
  <author_url>https://blog.hatena.ne.jp/hs_hachi/</author_url>
  <blog_title>個人的なまとめ</blog_title>
  <blog_url>https://hachi.hatenablog.com/</blog_url>
  <categories>
    <anon>Linux</anon>
  </categories>
  <description>新しく作成してもらったサーバ上からflumeを使って別サーバにログファイルを転送した時に日本語が文字化けする現象がありまして。なんだろう？と思ってflumeを管理してる別チームから「LANGの設定がUTF-8ではないとおもいますよ」と教えてもらいました。でも、envとかすると&quot;LANG=ja_JP.UTF-8&quot;とでてくるし、うーんと思ってて、flumeを立ち上げた時にscriptコマンドでログをとってたので見返してたら、もしかしてservice は環境変数が引き継がれないのは知ってるけどLANGもか？？となんとなく思ってググってたら、デーモンの起動・終了にはserviceコマンドを利用しよう …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhachi.hatenablog.com%2Fentry%2F20140410%2F1397151845&quot; title=&quot;service コマンドの環境変数でハマった話 - 個人的なまとめ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-04-10 02:44:05</published>
  <title>service コマンドの環境変数でハマった話</title>
  <type>rich</type>
  <url>https://hachi.hatenablog.com/entry/20140410/1397151845</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
