-----Original Message----- From: Bob Netherton Sent: 07/18/08 10:22 > On Fri, 2008-07-18 at 10:18 +0800, Jia Ni wrote: >> Hi, >> >> I am trying to write a smf wrapper, but I am blocked by the smf property >> setting. >> >> After I modify a property by 'svccfg editprop', I find the property listed >> by >> 'svccfg listprop' is changed, but the output of 'svcprop' remains the old >> one. > > Two questions. Are you applying properties to the service or a service
Sorry, I am not quite clear about the difference between service and instance. This service is a single instance service. I just use the abbreviation to identify it. So it should be an instance, right? > instance ? Second, did you refresh the service instance after the > editprop ? You mean I should use 'svccfg refresh' to the running instance? refresh Commit the values from the current configuration to the running snapshot, making them available for use by the currently selected instance. If the repository subcom- mand has not been used to select a repository, direct the instance's restarter to reread the updated confi- guration. I will try that. But last time, I just restart the service by disable and enable it. And this doesn't work. Thank you! -- Jia > > > > Bob > -- Best regards, Jia