<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>boscono</author_name>
  <author_url>https://blog.hatena.ne.jp/boscono/</author_url>
  <blog_title>てきとうなメモ</blog_title>
  <blog_url>https://boscono.hatenablog.com/</blog_url>
  <categories>
    <anon>CentOS</anon>
    <anon>CentOS7</anon>
    <anon>systemd</anon>
  </categories>
  <description>$ sudo /etc/init.d/hello start Starting hello (via systemctl): [ OK ]従来のinit.dの起動スクリプト直接実行しても、こんな感じでsystemctl経由で起動される。init.dの起動スクリプトは/etc/init.d/functionsで処理されている。/etc/init.d/functionsは起動スクリプトを実行する際の便利なシェル関数群だったのだが、CentOS7ではsystemctlへのリダイレクトも実施している。 if [ $PPID -ne 1 -a -z &quot;$SYSTEMCTL_SKIP_REDIRECT&quot; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboscono.hatenablog.com%2Fentry%2F2016%2F02%2F28%2F110452&quot; title=&quot;/etc/init.d/xxxを直接起動してもsystemctl経由になる - てきとうなメモ&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>2016-02-28 11:04:52</published>
  <title>/etc/init.d/xxxを直接起動してもsystemctl経由になる</title>
  <type>rich</type>
  <url>https://boscono.hatenablog.com/entry/2016/02/28/110452</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
