There is inconsistence between documentation and smf service, please use: svccfg -s application/pkg/server setprop pkg/port=80 svccfg -s application/pkg/server setprop pkg/inst_root=/some/directory
best Michal Pryc Halton Huo wrote: > That's what I get from manpage for pkg.depotd, should be a bug? > > I use setprop instead, still have error > $svccfg -s application/pkg/server:default setprop application/port = > 9999 > svccfg: No such property group "application". > > Halton. > On Wed, 2007-12-05 at 23:48 -0800, Danek Duvall wrote: > > >> On Thu, Dec 06, 2007 at 03:44:41PM +0800, Halton Huo wrote: >> >> >>> When I try to set port, I got following error >>> >>> $svccfg -s svc:/application/pkg/server:default set application/port = >>> 9999 >>> svccfg: Syntax error. >>> >>> Any ideas? >>> >> I believe you want to use "setprop" instead of "set". And don't forget to >> refresh and restart the service for it to take effect. >> >> Danek >> > > > ------------------------------------------------------------------------ > > _______________________________________________ > pkg-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/pkg-discuss > -- /~\ _ _ _ (~ _ | _ _. _ \_/|_)(/_| |_)(_)|(_|| |_\ | _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
