Hi, is there anyway in the profile, where I can mention of the dependency of
a file only for a stop/start method like I have a binary installed under
network filesystem, which creates a pid informative file upon its start and
removes the file upon the exit.
Since this binary installation (and the pid informative file is also in the
same network location hierarchy) is under network filesystem, it is possible
that any host accessing the file can startoff the binary but because of the
existence of a pid, it can be restricted to only one host.
Same way, if I manage to make this binary SMFized by writing a profile for
it , can I restrict the service to start only if and only if there is no pid
file and attempt to stop should be made only if the pidfile exists, but here
on a condition that I do not want to have a method defined for my new
service. I am not sure if this has already been addressed. Please advice and
point me to the associative urls.

Thanks and Regards,
Nikhil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20070415/d1300237/attachment.html>

Reply via email to