10 марта 2015 г. 15:51:35 CET, "Schweiss, Chip" <[email protected]> пишет:
>I haven't used sendmail since the 1990's and don't intend to change.
>
>I've figured out how to get smtp-notify to start with sendmail-client
>disable, but it was a manual process of using 'svccfg -s smtp-notify
>editprop'
>
>What I can't figure out how to do the same on the command line. 
>Everything
>I try either gives a syntax error or 'svccfg: No such property group
>"startup_req".'  I really don't want to have to add a manual step to my
>system setup scripts.
>
>What's the proper syntax for this setting?:
>
>svccfg -s system/fm/smtp-notify:default setprop "startup_req/entities"
>=
>fmri: \"svc:/milestone/multi-user:default svc:/system/fmd:default\"
>
>-Chip
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>OmniOS-discuss mailing list
>[email protected]
>http://lists.omniti.com/mailman/listinfo/omnios-discuss

You may have to 'addpg' the property group first. Just 'editprop' any service 
to see syntax examples.

Choose to not depend on success of 'addpg' (it will fail if the pg is present 
already) but do check success of 'setprop'.

HTH, Jim 
--
Typos courtesy of K-9 Mail on my Samsung Android
_______________________________________________
OmniOS-discuss mailing list
[email protected]
http://lists.omniti.com/mailman/listinfo/omnios-discuss

Reply via email to