<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>linux</anon>
    <anon>systemd</anon>
  </categories>
  <description>systemd でパス監視機能を使う systemd.path を試していきます。 パスの監視というと理解しくいかもしれませんが、フォルダの監視です。フォルダを監視してなんかやります。もちろんファイルも監視できます。 inotify でアプリを書くより手軽です。 はじめに systemd でパスを監視することができる。 xxxx.path と xxxx.service をペアで作成し登録すればオッケ。 制限事項 再帰的(recursive)なパス監視はできない。 inotify を使っているので、 nfsなどネットワーク越しでは使えない。 gvfs/gio でマウントしていると inotify…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2019%2F10%2F27%2F171941&quot; title=&quot;systemd.path で path(パス) を監視する。 - それマグで！&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>2019-10-27 17:19:41</published>
  <title>systemd.path で path(パス) を監視する。</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2019/10/27/171941</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
