Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Feb 1998 10:40:43 -0500 (EST)
From:      John Fieber <jfieber@indiana.edu>
To:        Rod Ebrahimi <rode@directhost.net>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: reload
Message-ID:  <Pine.BSF.3.96.980205103534.6271G-100000@fallout.campusview.indiana.edu>
In-Reply-To: <34D9CD54.4F407C8F@directhost.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 Feb 1998, Rod Ebrahimi wrote:

>     How would I go about configuring my sendmail, httpd, and DNS server
> daemons to reload/restart upon the saving of the configuration files?

One way would be to write a wrapper program/script like vipw
that calls the editor.  When the editor exits, it should verify
that the config files really were changed, do whatever error
checking is reasonable to do on the new files, and do the
appropriate jiggery-pokery to restart the daemon. 

-john




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980205103534.6271G-100000>