Yong Sun wrote:

> I'm just wondering how the "restart_fmri" actuator is executed, if
> multiple files in different packages asking to restart the same SMF
> service, will these requests be accumulated into a single one, and
> then be launched in the end of installation phase?

Yes.  If an FMRI is marked for restart (or any of the other actions), then
it is restarted (refreshed, disabled, etc), exactly once.  So, for example,
you can update the windex file in a manpage service without having to worry
about how long each invocation takes, as it'll only happen once, once all
the man pages have been installed (indeed, svc:/application/man-index does
exactly this).

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to