<!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">HAYASHI Kentaro <hayas****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2012-08-23 17:54:00 +0900 (Thu, 23 Aug 2012)</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/521a2ecb02d6f8fe71b445d7415f1c09512c770d">521a2ecb02d6f8fe71b445d7415f1c09512c770d</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Log</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em">httpd deb: support to upgrade binary on the fly
See http://tech.naver.jp/blog/?p=1369 or
http://wiki.nginx.org/CommandLine#Upgrading_To_a_New_Binary_On_The_Fly
refs #1456</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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#diff-0">packages/debian/groonga-httpd.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, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: packages/debian/groonga-httpd.init (+16 -15)</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, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L23">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L24">24</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L25">25</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L26">26</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L27">27</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L29">29</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L136">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L137">137</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L138">138</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L139">139</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L140">140</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L141">141</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L142">142</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L160">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L161">161</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L162">162</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L163">163</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L164">164</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L165">165</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L166">166</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L167">167</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L168">168</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L169">169</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L170">170</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L171">171</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L172">172</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L173">173</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L174">174</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L175">175</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L176">176</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L177">177</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L178">178</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L179">179</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L180">180</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0L181">181</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R23">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R24">24</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R25">25</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R26">26</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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R27">27</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R30">30</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R137">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R138">138</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R139">139</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R140">140</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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R141">141</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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R142">142</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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R143">143</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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R144">144</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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R145">145</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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R146">146</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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R147">147</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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R148">148</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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R149">149</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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R150">150</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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R151">151</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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R152">152</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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R153">153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R154">154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R155">155</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R156">156</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R174">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R176">176</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R177">177</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R178">178</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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#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/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R180">180</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R181">181</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/521a2ecb02d6f8fe71b445d7415f1c09512c770d#L0R182">182</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -24,6 +24,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">GROUP=groonga</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ADDRESS=127.0.0.1</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> PORT=10041</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> PIDFILE=/var/run/groonga/$NAME.pid</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+OLDPIDFILE=/var/run/groonga/$NAME.pid.oldbin</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> SCRIPTNAME=/etc/init.d/$NAME</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> OPTION_ARGS=""</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> START_STOP_DAEMON_ARGS=""</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -137,6 +138,19 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">do_status() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return $?</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-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+do_restart() {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ echo "do_restart"</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ do_start</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ case "$?" in</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        1)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+         kill -USR2 `cat $PIDFILE`</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+         kill -WINCH `cat $OLDPIDFILE`</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+         kill -QUIT `cat $OLDPIDFILE`</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+         ;;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ esac</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return 0</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+}</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> case "$1" in</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> start)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -161,21 +175,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">case "$1" 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"> restart)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         log_daemon_msg "Restarting $DESC" "$NAME"</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-        do_stop</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-        case "$?" in</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-         0|1)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-                do_start</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-                case "$?" in</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-                 0) log_end_msg 0 ;;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-                 1) log_end_msg 1 ;; # Old process is still running</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-                 *) log_end_msg 1 ;; # Failed to start</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-                esac</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-                ;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-         *)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-                 # Failed to stop</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-                log_end_msg 1</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-                ;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-        esac</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        do_restart</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        log_end_msg $?</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>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>