Neale Ferguson writes:
> Thanks, now to check the source code to see where (what property) it gets the 
> instance name from.

It comes from the SMF instance itself; it's not a property.  For
example, if you have a service named:

  svc:/system/console-login:foobar

then the instance name substituted by "%i" when invoking that script
will be the string "foobar".  If you look at the output from running
"svcs svc:/system/console-login", you'll see that there are multiple
services defined -- each one for a different port.

You can create new service instances like this:

  svccfg -s svc:/system/console-login add foobar

You'll probably want to take a look through one of the SMF
introductions, such as this:

  
http://www.c0t0d0s0.org/archives/4149-Solaris-Features-Service-Management-Facility.html

-- 
James Carlson, Solaris Networking              <[email protected]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to