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

Re: Automatically restart daemons



On Fri, 4 Jun 1999, Matt Kern wrote:

> On Fri, 4 Jun 1999, Tom Lear wrote:
> 
> > I assuming theres a command in emacs to run the code in the file being
> > edited or something,
> 
> Yup -- the most useful way is to specify a different compile command, so
> 'M-x compile' will restart the daemon.
> 
> > in which case just put '#/etc/init.d/apache reload'
> > in your httpd.conf file. 
> 
> This is exactly what I was proposing.
> 
> > I would be strongly opposed to putting this
> > level of emacs-centricity in Debian.  There's no reason to duplicate the
> > code since the init.d script comes with the package.
> 
> There is a reason;  it makes it easier for the sysadmins and points out to
> the newbie how they effect the changes they have made.

Well a single line is not a big deal just put something like:
# To make changes to this file take effect you need to:
# /etc/init.d/apache reload

That would be fine.  I suggest you file wishlist bugs agains the
maintainers of the packages with daemons that need a HUP.
							- Tom


Reply to: