This is a multi-part message in MIME format.
Would that not be the responsibility of the systemd bit for Apache (if
using systemd)?
That said, I am not sure systemd does a great job of restarting a service. Might require tailoring on the particular server.
https://ma.ttias.be/auto-restart-crashed-service-systemd/
On Wed, 2023-02-08 at 14:01 +0000, Phil Endecott wrote:
Whose responsibility is this? Should the Apache package somehow
know that it needs to restart itself? Should the libssl package
do something to cause Apache to restart? Should the unattended-
upgrades package know to restart Apache when libssl has been
upgraded?
I know there is a mechanism of some kind to cause daemons to
restart when libraries they use are being replaced; is that just
for libc updates, or something?
Have a look into the needrestart package, which is suggested, but not required, by unattended-upgrades.
--
@ITS
Craig M. Houck ><>
Binghamton University - ITS:Systems
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Would that not be the responsibility of the systemd bit for Apache
(if using systemd)?<br>
That said, I am not sure systemd does a great job of restarting a
service.<br>
Might require tailoring on the particular server.<br>
<br>
<br>
<a class="moz-txt-link-freetext" href="
https://ma.ttias.be/auto-restart-crashed-service-systemd/">https://ma.ttias.be/auto-restart-crashed-service-systemd/</a><br>
<blockquote type="cite"
cite="mid:
[email protected]">
<pre class="moz-quote-pre" wrap="">On Wed, 2023-02-08 at 14:01 +0000, Phil Endecott wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Whose responsibility is this? Should the Apache package somehow
know that it needs to restart itself? Should the libssl package
do something to cause Apache to restart? Should the unattended-
upgrades package know to restart Apache when libssl has been
upgraded?
I know there is a mechanism of some kind to cause daemons to
restart when libraries they use are being replaced; is that just
for libc updates, or something?
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Have a look into the needrestart package, which is suggested, but not
required, by unattended-upgrades.
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<font size="<-1"">@ITS<font><br>
Craig M. Houck ><><br>
Binghamton University - ITS:Systems<br>
<!-- <br>
<code>Patriotism is supporting your country all the time,<br>
and your government when it deserves it.</code><br>
<i>Mark Twain</i> --></font></font></div>
</body>
</html>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)