<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">On 03/11/2014 09:05 AM, Michael Biebl
wrote:<br>
</div>
<blockquote
cite="mid:CAGWsdOgBki9w7Kzc48o91F3GTXeiNmXPCpxO7N7JgFD64NWtVw@mail.gmail.com"
type="cite">
<pre wrap="">2014-03-10 15:25 GMT+01:00 Lukas Nykryn <a class="moz-txt-link-rfc2396E" href="mailto:lnykryn@redhat.com"><lnykryn@redhat.com></a>:
</pre>
<blockquote type="cite">
<pre wrap="">Unfortunately common practice in initscripts is to have reload as an
alias for restart (<a class="moz-txt-link-freetext" href="https://fedoraproject.org/wiki/Packaging:SysVInitScript">https://fedoraproject.org/wiki/Packaging:SysVInitScript</a>).
In that case the newly started process will be killed immediately after
the reload process ends and its cgroup is destroyed.
</pre>
</blockquote>
<pre wrap="">
Interesting. The Debian/Ubuntu packaging policies are quite contrary
in that regard.
LSB/SysV init scripts only have the reload option, if the daemon
actually supports it.
There is a force-reload action though, which is mapped to reload, if
the daemon supports reload and to restart, if not.
Given that, I wonder if this should be maintained as a Fedora specific patch?
</pre>
</blockquote>
<br>
Debian is getting it right in this regard since LSB defines the
behavior of reload to be [1]<br>
<br>
"<b class="COMMAND">reload</b> cause the configuration of the
service to be
reloaded without actually stopping and restarting the service" <br>
<br>
In anycase systemd should follow LSB in this regard leaving any
downstream distribution having to patch their own common practices
in initscripts by themselves.<br>
<br>
JBG<br>
<br>
1.
<a class="moz-txt-link-freetext" href="http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html">http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html</a><br>
</body>
</html>