Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2017 14:25:36 -0400
From:      "James B. Byrne" <byrnejb@harte-lyne.ca>
To:        freebsd-questions@freebsd.org
Subject:   Q. How to script a self checking starting rc.d script
Message-ID:  <740265b61597d745421e95e190c659d8.squirrel@webmail.harte-lyne.ca>

next in thread | raw e-mail | index | archive | help
We are moving from RHEL/CentOS Linux to FreeBSD.   On one of our Linux
boxes we currently have an ssh pipe to a remote imap service.  This is
a straight-forward ssh tunnel.  In the past there have been
circumstances where this connection has failed.  In order to
automatically re-establish the pipe I wrote an 'upstart' job to set up
the pipe and automatically restart after a stoppage.

How is this sort of thing handled in FreeBSD?  Through cron monitoring?


-- 
***          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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?740265b61597d745421e95e190c659d8.squirrel>