Guy Paulus <gpaulus@batir.ulb.ac.be> wrote:
> On Wed, 12 Mar 2008, Casper H.S. Dik wrote:
>
>> As an SMF service in S10 this is easy (declare that sendmail depends on
>> spamd in spamd's .xml file) and in S9 just use an rc file numbered
>> before sendmail.
>
> Thanks for your information. I realize I forgot to mention that my OS is
> Solaris 10. Is there no need to introduce a dependency on spamd in
> sendmail's .xml file ?
You can either make it so, that the sendmail service lists SA as
a /dependency/, or you can write the SA manifest so, that it lists
sendmail as a /dependent/ service.
http://www.sun.com/bigadmin/content/...sdev_intro.jsp
might be of help. It says:
| That is, dependent specifications are an easy way to have your
| service run before a service delivered by Sun.
As I often hesitate to modify stuff that's shipped by the OS, I'd
hesitate to modify the sendmail service. Instead, I'd go the
"dependent" route, especially as both ways accomplish the same
result.
Regards,
Michael