<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>t-horikiri</author_name>
  <author_url>https://blog.hatena.ne.jp/t-horikiri/</author_url>
  <blog_title>@thorikiriのてょりっき</blog_title>
  <blog_url>https://blog.horihavalabo.jp/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>Capistranoを使って、unicornをリスタートしようとして、ちょっとハマってしまいました。 unicorn.pidの存在確認をして、存在していればそのファイルを読み込んでプロセスをKILLしてから、起動のコマンドを打つつもりでした。 なので、元はこんな感じです。 task :start do run &quot;cd #{current_path} &amp;&amp; bundle exec unicorn_rails -c #{current_path}/config/unicorn.conf -E #{rails_env} -D&quot; end task :stop do if File.exist? &quot;#{…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.horihavalabo.jp%2Fentry%2F20140110%2F1389342981&quot; title=&quot;Capistranoでunicornを再起動する - @thorikiriのてょりっき&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-01-10 17:36:21</published>
  <title>Capistranoでunicornを再起動する</title>
  <type>rich</type>
  <url>https://blog.horihavalabo.jp/entry/20140110/1389342981</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
