Q. How to script a self checking starting rc.d script

James B. Byrne byrnejb at harte-lyne.ca
Wed Apr 12 18:25:48 UTC 2017


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



More information about the freebsd-questions mailing list