From owner-freebsd-rc@FreeBSD.ORG Thu Sep 13 06:58:01 2012 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DA247106564A; Thu, 13 Sep 2012 06:58:01 +0000 (UTC) (envelope-from mike.telahun@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 152858FC08; Thu, 13 Sep 2012 06:58:00 +0000 (UTC) Received: by eeke52 with SMTP id e52so1848145eek.13 for ; Wed, 12 Sep 2012 23:58:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=HporXqHq8RI1i0Ak5A5AHpmjHU4mcSF+Jjio5eJe758=; b=BRoD58XRnpqyKrefE150sE8eJGBfL6oSJJqVSc5rvhA4S44OkzsTmdm67X1fN1jfmK +rBFWf0WtUj2Z5rlVqWrUCzouqI40suSJ7OsxsWsWARCje8EUio7kaCtONcoQkUoyN+a AsFYCW2SCpkRUejcgrPXN/5+eqczEj/3ZdLT97NthOMzYXLPOUHt9LGZJKpHjJnMkqBn lf7N4yMt8BCd3lEANg7CWUBOQYpLSPs8/L03ARYF8fBdkoacSTn8u/mvjwSrusMknlJm E+cFwb8pdMcxosSJU0QZ4tnCrZEKlqz1QLr21EYeEu2ZvoLzEM+5bMbhqK9Fr6qAJLY3 zqlw== Received: by 10.14.172.193 with SMTP id t41mr1211305eel.25.1347519480024; Wed, 12 Sep 2012 23:58:00 -0700 (PDT) Received: from [192.168.8.158] ([213.55.110.215]) by mx.google.com with ESMTPS id e42sm60380706eem.8.2012.09.12.23.57.57 (version=SSLv3 cipher=OTHER); Wed, 12 Sep 2012 23:57:59 -0700 (PDT) Message-ID: <505183F3.7080604@gmail.com> Date: Thu, 13 Sep 2012 09:57:55 +0300 From: Mike Telahun User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: d@delphij.net References: <504A5688.3090905@delphij.net> <504ECCD9.8010705@FreeBSD.org> <504F98E4.5090706@delphij.net> <50503F83.2010308@FreeBSD.org> <505043BB.1040709@delphij.net> In-Reply-To: <505043BB.1040709@delphij.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: crees@FreeBSD.org, freebsd-rc@FreeBSD.ORG, Doug Barton , Xin Li Subject: Re: [PATCH] Add -R (restart all local services) to service(8) X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2012 06:58:02 -0000 On 09/12/2012 11:11 AM, Xin Li wrote: > > Run OpenLDAP as backend, with dovecot as IMAP store, postfix as MTA, > clamav and amavisd-new, mailman for mailing list, a postfix policy > daemon that stores certain persistent data in MySQL. > > Now, OpenLDAP, clamav and MySQL updates. No, not every application > handles restarts gracefully, they need to be restarted. While this is certainly an expedient solution. A more elegant solution might be to teach service(8) to restart a service *and* all the other services that depend on it. However, since I haven't looked at this stuff in a long time I'm not sure how much work this would entail. Cheers, Mike.