<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takeg</author_name>
  <author_url>https://blog.hatena.ne.jp/takeg/</author_url>
  <blog_title>ベスパリブ</blog_title>
  <blog_url>https://takeg.hatenadiary.jp/</blog_url>
  <categories>
    <anon>systemd</anon>
  </categories>
  <description>hoge1.serviceとhoge2.serviceという2つのサービスを作成しました。 「hoge1.seriveのExecStartで指定したスクリプトが完全に終了してからhoge2.serviceを起動する」ということをしたい場合は、サービスの起動順序を記述する必要があります。[Unit]セクションにAfterとBeforeを記述すれば起動順序を指定できますが、これだけだと意図した順序で起動してくれませんでした。 原因は起動完了判定のタイミングで、[Service]セクションのTypeも考える必要があります。Type = simpleは、「サービス起動と同時に起動完了と判定する」 Ty…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakeg.hatenadiary.jp%2Fentry%2F2017%2F02%2F15%2F220536&quot; title=&quot;systemdのサービスの起動順序を決める - ベスパリブ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/t/takeg/20170215/20170215220336.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-02-15 22:05:36</published>
  <title>systemdのサービスの起動順序を決める</title>
  <type>rich</type>
  <url>https://takeg.hatenadiary.jp/entry/2017/02/15/220536</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
