From owner-freebsd-questions@freebsd.org Wed Apr 12 19:38:01 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 405DCD3BDA2 for ; Wed, 12 Apr 2017 19:38:01 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 13A6EFFA for ; Wed, 12 Apr 2017 19:38:00 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 28FA360D24; Wed, 12 Apr 2017 15:37:59 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ft0skX_uEG8K; Wed, 12 Apr 2017 15:37:57 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id 5D5A4603D1; Wed, 12 Apr 2017 15:37:57 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1492025877; bh=dLQAGulk/VEdyl3BS1SdiEqzTGAxBeU4qORU6qicjSc=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=tLqj6lfHYh0yc/TmRi4Z/H5izIz5vrjLDu+i1W4IJNyhiOO7nlz+Xz00Rd3X7okEL +8wMdR3IyGrdMkPMg/Gm8Z4QigCeGJzzzBemszqZpeSoJbVCxkoflvnvohOf9lMqvP pg/ns8toBZttvC31NURx0FNrF9aU4d+O5Jyirh3bXbtcNUKzIwnxXnMWCpYtiP0EgH r0EwANkJ34mCNbzu76/KqZud1vVlq+QXCZl8vB2xinFd0L8NpP2yEkK/TBvydhRNJf 6cfHzKwXNqYDtCXjrmSlOJGjyXm/1jU+pWZ1hFck3t7pt3gWWal2lQcx33VpXch544 gWvT55wbtvEkg== Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Wed, 12 Apr 2017 15:37:57 -0400 Message-ID: <523ef8b7fc44767fba1e35d141f8ee3c.squirrel@webmail.harte-lyne.ca> In-Reply-To: <20170412201029.48428d98b592b9f963b1423d@sohara.org> References: <740265b61597d745421e95e190c659d8.squirrel@webmail.harte-lyne.ca> <20170412201029.48428d98b592b9f963b1423d@sohara.org> Date: Wed, 12 Apr 2017 15:37:57 -0400 Subject: Re: Q. How to script a self checking starting rc.d script From: "James B. Byrne" To: "Steve O'Hara-Smith" Cc: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-4.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2017 19:38:01 -0000 On Wed, April 12, 2017 15:10, Steve O'Hara-Smith wrote: > > For this particular job I would suggest using autossh started in > rc.local or with a minimal rc script in /usr/local/etc/rc.d which > you'd have to write - personally I'd go with rc.local. > I never knew of autossh before this. Thank you. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3