[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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.

							Dave Bristel


On Wed, 2 Jun 1999, Matt Kern wrote:

> Date: Wed, 2 Jun 1999 16:54:16 +0100 (GMT)
> From: Matt Kern <mwk20@cam.ac.uk>
> Reply-To: Matt Kern <matt.kern@pobox.com>
> To: Debian Devel <debian-devel@lists.debian.org>
> Subject: Automatically restart daemons
> Resent-Date: 2 Jun 1999 16:39:24 -0000
> Resent-From: debian-devel@lists.debian.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?
> 
> Cheers,
> 
> Matt
> 
>   \\\\/////  Matt Kern            Tel: (01223) 355588
>   |       |  matt.kern@pobox.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 debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 


Reply to: