From owner-freebsd-hackers Thu Feb 5 07:41:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA05214 for hackers-outgoing; Thu, 5 Feb 1998 07:41:22 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from fallout.campusview.indiana.edu (fallout.campusview.indiana.edu [149.159.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA05138 for ; Thu, 5 Feb 1998 07:41:01 -0800 (PST) (envelope-from jfieber@indiana.edu) Received: from localhost (jfieber@localhost) by fallout.campusview.indiana.edu (8.8.7/8.8.7) with SMTP id KAA08096; Thu, 5 Feb 1998 10:40:43 -0500 (EST) Date: Thu, 5 Feb 1998 10:40:43 -0500 (EST) From: John Fieber To: Rod Ebrahimi cc: hackers@FreeBSD.ORG Subject: Re: reload In-Reply-To: <34D9CD54.4F407C8F@directhost.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" 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