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 <email@example.com>
> Reply-To: Matt Kern <firstname.lastname@example.org>
> To: Debian Devel <email@example.com>
> Subject: Automatically restart daemons
> Resent-Date: 2 Jun 1999 16:39:24 -0000
> Resent-From: firstname.lastname@example.org
> 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
> | | email@example.com 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 firstname.lastname@example.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com