<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">orangain &lt;orang****@gmail*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2013-06-18 22:33:47 +0900 (Tue, 18 Jun 2013)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f">129142145a0c5bd26e76b26974e67cb271251f0f</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Merge</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li>Merged 321183e: Merge pull request #62 from orangain/feature-status-exit-code</li>
        </ul>
      </dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">deb: status action return non-zero when services are stopped

According to [LSB][1], exit code should be non-zero when the services
are not running.

This fix is useful for automated monitoring or testing.

[1]: http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#diff-0">packages/debian/groonga-httpd.init</a></li>
          <li><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#diff-1">packages/debian/groonga-server-gqtp.init</a></li>
          <li><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#diff-2">packages/debian/groonga-server-http.init</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: packages/debian/groonga-httpd.init (+1 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L0L173">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L0L174">174</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L0L175">175</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L0L176">176</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L0L177">177</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L0L178">178</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L0L179">179</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L0R173">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L0R174">174</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L0R175">175</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L0R176">176</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L0R177">177</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L0R178">178</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L0R179">179</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L0R180">180</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -174,6 +174,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">case &quot;$1&quot; in</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">         ;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     status)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         do_status</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        exit $?</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         ;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     *)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         echo &quot;Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload|status}&quot; &gt;&amp;2</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: packages/debian/groonga-server-gqtp.init (+1 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L1L218">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L1L219">219</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L1L220">220</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L1L221">221</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L1L222">222</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L1L223">223</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L1L224">224</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L1R218">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L1R219">219</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L1R220">220</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L1R221">221</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L1R222">222</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L1R223">223</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L1R224">224</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L1R225">225</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -219,6 +219,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">case &quot;$1&quot; in</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">         ;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     status)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         do_status</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        exit $?</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         ;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     *)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         echo &quot;Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload|status}&quot; &gt;&amp;2</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: packages/debian/groonga-server-http.init (+1 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L2L224">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L2L225">225</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L2L226">226</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L2L227">227</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L2L228">228</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L2L229">229</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L2L230">230</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L2R224">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L2R225">225</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L2R226">226</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L2R227">227</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L2R228">228</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L2R229">229</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L2R230">230</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/129142145a0c5bd26e76b26974e67cb271251f0f#L2R231">231</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -225,6 +225,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">case &quot;$1&quot; in</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">         ;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     status)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         do_status</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        exit $?</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         ;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     *)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         echo &quot;Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload|status}&quot; &gt;&amp;2</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>