Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2003 14:56:57 -0400
From:      "George Vagner" <george@vagner.com>
To:        "Joshua Lokken" <joshualokken@attbi.com>, "Paul Hoffman" <phoffman@proper.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Generic way to restart servers?
Message-ID:  <002e01c302b7$a10fbde0$0b1a6141@sandy>
References:  <p0521060cbac08501a459@[142.131.246.132]> <20030414183339.GA77598@joloxbox.joshualokken.com>

next in thread | previous in thread | raw e-mail | index | archive | help
named.restart

used to work for me.


----- Original Message -----
From: "Joshua Lokken" <joshualokken@attbi.com>
To: "Paul Hoffman" <phoffman@proper.com>
Cc: <freebsd-questions@freebsd.org>
Sent: Monday, April 14, 2003 2:33 PM
Subject: Re: Generic way to restart servers?


> * Paul Hoffman (phoffman@proper.com) wrote:
> ==> Hi again. I want to write a script that will restart named. Right now
I
> ==> have:
> ==>
> ==> kill -9 `cat /var/run/named.pid`
> ==> /usr/local/sbin/named -c /etc/named.conf
> ==>
> ==> Other BSDs have the rc.d concept, but it is often kind of kludgy,
> ==> particularly when some servers come from the ports collection. Does
> ==> FreeBSD have a generic way to shutdown and restart servers such as
> ==> named and sendmail and apache?
>
> I don't know which version of apache you use, but with apache2, there's
> the apachectl tool.
>
> # apachectl stop|start|graceful , etc.
>
> --
> Joshua
>
> ==> _______________________________________________
> ==> freebsd-questions@freebsd.org mailing list
> ==> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> ==> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.471 / Virus Database: 269 - Release Date: 4/10/2003



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002e01c302b7$a10fbde0$0b1a6141>