[OmniOS-discuss] smtp-notify dependency on sendmail

Jim Klimov jimklimov at cos.ru
Tue Mar 10 17:29:27 UTC 2015


10 марта 2015 г. 15:51:35 CET, "Schweiss, Chip" <chip at innovates.com> пишет:
>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
>OmniOS-discuss at lists.omniti.com
>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


More information about the OmniOS-discuss mailing list