Re: Automatically restart daemons
Restarting daemons should generally be done through the appropriate /etc/init.d
script(start-stop daemon). While I too have been known to HUP named and inetd
when I want to restart them, it's not the "proper" way to do it.
On Wed, 2 Jun 1999, Matt Kern wrote:
> Date: Wed, 2 Jun 1999 16:54:16 +0100 (GMT)
> From: Matt Kern <firstname.lastname@example.org>
> Reply-To: Matt Kern <email@example.com>
> To: Debian Devel <firstname.lastname@example.org>
> Subject: Automatically restart daemons
> Resent-Date: 2 Jun 1999 16:39:24 -0000
> Resent-From: email@example.com
> Resent-cc: recipient list not shown: ;
> It might be a nice idea if we put the code to restart various daemons into
> their config files.
> e.g. # /etc/inetd.conf: see inetd(8) for further informations.
> # Internet server configuration database
> # Local variables:
> # mode: text
> # compile-command: "kill -HUP `cat /var/run/inetd.pid`"
> # End:
> This is a very useful feature and can really help the turnaround time for
> adding new services manually. Any thoughts?
> \\\\///// Matt Kern Tel: (01223) 355588
> | | firstname.lastname@example.org http://xanadu.pet.cam.ac.uk/~mwk20/
> | O O |
> | L | If I had better tools, I could more effectively
> | \__ | demonstrate my total incompetence.
> To UNSUBSCRIBE, email to email@example.com
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org