Date: Mon, 14 Apr 2003 11:33:39 -0700 From: Joshua Lokken <joshualokken@attbi.com> To: Paul Hoffman <phoffman@proper.com> Cc: freebsd-questions@freebsd.org Subject: Re: Generic way to restart servers? Message-ID: <20030414183339.GA77598@joloxbox.joshualokken.com> In-Reply-To: <p0521060cbac08501a459@[142.131.246.132]> References: <p0521060cbac08501a459@[142.131.246.132]>
next in thread | previous in thread | raw e-mail | index | archive | help
* 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030414183339.GA77598>