2 separate instances of ssh under same Solaris 10 service

From: alex khalil (sunman@khalil.org)
Date: Mon May 01 2006 - 22:35:49 EDT


  I'm trying to have two separate instances of ssh controlled under the
same service.

  The instances are on different ports and with different authorization
settings, however I would like to control and monitor them under the
same service.

  Modifying the file /lib/svc/method/ssh is simple but how to convince
/var/svc/manifest/network/ssh.xml to monitor both instances and restart
them if either fails.

  Currently, after modifying only /lib/svc/method/ssh, only the first
instance of ssh is monitored and if the other one dies, no restart occurs.

  If nothing else works, I'll put each instance under a separate service.

  Thanks

alex
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:43 EDT