<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masami256</author_name>
  <author_url>https://blog.hatena.ne.jp/masami256/</author_url>
  <blog_title>φ(・・*)ゞ ｳｰﾝ　カーネルとか弄ったりのメモ</blog_title>
  <blog_url>https://kernhack.hatenablog.com/</blog_url>
  <categories>
    <anon>linux</anon>
    <anon>systemd</anon>
  </categories>
  <description>この記事はLinux Advent Calendar 2014の8日目の記事です。 systemdでシステムshutdown時に何かさせる場合の.serviceファイルについて書いてみたいと思います。 systemdで何かを実行する場合、どこにインストールするか（Installセクションをどうするか）が重要で通常のサービスだとmulti-user.targetを指定していると思います。 今回はshutdown時に実行させたいのでInstallセクションにはshutdown.targetを指定します。 では.serviceファイルを見てみましょう [Unit] Description=Prona…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkernhack.hatenablog.com%2Fentry%2F2014%2F12%2F08%2F000708&quot; title=&quot;systemdでshutdown時にプロ生ちゃんに挨拶してもらう - φ(・・*)ゞ ｳｰﾝ　カーネルとか弄ったりのメモ&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>http://ecx.images-amazon.com/images/I/51jhjmygQ9L.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-12-08 00:07:08</published>
  <title>systemdでshutdown時にプロ生ちゃんに挨拶してもらう</title>
  <type>rich</type>
  <url>https://kernhack.hatenablog.com/entry/2014/12/08/000708</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
