SMF/Manifest in Zones

Hi..

I have an application installed in Zones and I would like to have the application started on every system reboot and stop at every shutdown.

I created start/stop/restart script in /etc/init.d and placed S and K links in rc?d directories. This works fine.

but I want to use SMF for this application instead of using legacy method.

I get this error when I try to create the file in /lib/svc/method/...

cannot create ... Read-only file system

I understand above error is there because this is a zone and /lib mounted read only. I am wondering if it is possible to have an independent service controlled in a zone using SMF? May be like using a different place to store script ? I have an independent /usr/local for each zone..

Any ideas ?:confused:

Thanks