Generic way to restart servers?
Toni Schmidbauer
toni at stderror.at
Mon Apr 14 08:50:39 PDT 2003
On Mon, Apr 14, 2003 at 08:34:22AM -0700, Paul Hoffman wrote:
> 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?
/usr/local/etc/rc.d/, usally ports put there startup/shutdown
scripts into that directory (pgsql for instance). you could also
use rc.local but see the man page for more detailed information.
see man rc(8).
toni
--
Behandle die Menschen, als wären sie, was sie sein | toni at stderror dot at
sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer
sie sein können. - Johann Wolfgang von Goethe |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030414/a51a485b/attachment.bin
More information about the freebsd-questions
mailing list