Tom Whitten writes:
> Jon Krueger writes:
> > Thanks Tom! That helped.
> > 
> > A follow-up question: are you recommending a svcadm refresh
> > to get the service to see the new property? If so, perhaps
> > I don't need it for this; I just want to store a value
> > there that will be needed later.
> > 
> > Thanks!
> > 
> > -- Jon
> 
> I'm glad that it help.
> 
> One reason for the refresh is the one that you mentioned -- to get the
> service to see the changed values.  The other reason is that changes made
> with svccfg are not reflected in the running snapshot until you do the
> refresh.
> 
> tom
> _______________________________________________
> smf-discuss mailing list
> smf-discuss at opensolaris.org

Just a little more detail on this.  The man svccfg(1M) states:

     Changes made to an existing service in the repository  typi-
     cally  do  not  take  effect for that service until the next
     time the service instance is refreshed. See the refresh sub-
     command on the svcadm(1M) man page for more details.

>From svcadm(1M)

         For each service instance  specified  by  the  operands,
         requests   that   the   assigned  restarter  update  the
         service's running configuration snapshot with the values
         from  the  current  configuration.  Some of these values
         take  effect  immediately   (for   example,   dependency
         changes). Other values do not take effect until the next
         service restart. See the restarter and service  documen-
         tation for more information.

tom

Reply via email to