<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Shell on Mr.W&#39;s Blog</title>
    <link>https://c57b4987.mrwblog.pages.dev/tags/shell/</link>
    <description>Recent content in Shell on Mr.W&#39;s Blog</description>
    <image>
      <title>Mr.W&#39;s Blog</title>
      <url>https://c57b4987.mrwblog.pages.dev/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://c57b4987.mrwblog.pages.dev/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 21 Oct 2022 10:50:32 +0000</lastBuildDate>
    <atom:link href="https://c57b4987.mrwblog.pages.dev/tags/shell/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Nginx pid error fix</title>
      <link>https://c57b4987.mrwblog.pages.dev/posts/nginx_error/</link>
      <pubDate>Fri, 21 Oct 2022 10:50:32 +0000</pubDate>
      <guid>https://c57b4987.mrwblog.pages.dev/posts/nginx_error/</guid>
      <description>&lt;p&gt;If you use &lt;code&gt;systemctl status nginx&lt;/code&gt; to check nginx status you may find a pid error appear on status panel.  The words that appear may be :&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Can&amp;#39;t open PID file /run/nginx.pid (yet?) after start: Operation not permitted
Or
Can&amp;#39;t open PID file /var/run/nginx.pid (yet?) after start: No such file or directory
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This is becasue the pid file not generate before the nginx booted.
The solution is to add following sentence into &lt;code&gt;/usr/lib/systemd/system/nginx.service&lt;/code&gt;, it will let nginx wait 0.1s before executing the executable.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
