From owner-freebsd-questions@FreeBSD.ORG Wed May 21 09:14:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9BB01065677 for ; Wed, 21 May 2008 09:14:25 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from hermes.hst.org.za (onix.hst.org.za [209.203.2.133]) by mx1.freebsd.org (Postfix) with ESMTP id AE3768FC13 for ; Wed, 21 May 2008 09:14:24 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from sysadmin.hst.org.za (sysadmin.int.dbn.hst.org.za [10.1.1.20]) (authenticated bits=0) by hermes.hst.org.za (8.13.8/8.13.8) with ESMTP id m4L9EX20032121 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Wed, 21 May 2008 11:14:33 +0200 (SAST) (envelope-from jonathan+freebsd-questions@hst.org.za) From: Jonathan McKeown Organization: Health Systems Trust To: freebsd-questions@freebsd.org Date: Wed, 21 May 2008 11:17:41 +0200 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805211117.41260.jonathan+freebsd-questions@hst.org.za> X-Spam-Score: -4.373 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.61 on 209.203.2.133 Subject: rc script REQUIRE-ing a service on another host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 09:14:25 -0000 We had a power failure last night, and this morning I found that imapproxyd (running on a webserver which provides webmail) had failed to start because it depends on imapd (running on the mailserver, a different host), and imapproxyd had won the startup race. I need to prevent the race by making one service depend on another service running remotely. While I sketch out some horribly untidy fix, can the Lazyweb tell me if there is already a neat solution for this? Jonathan