On Tue, 21 Feb 2006 11:38:21 -0500
Ryan Novosielski <[EMAIL PROTECTED]> wrote:

> Didn't someone write a manifest file for bacula?
> 
> Would this person care to post it to the list please? It would be 
> helpful to those (eg. me) running Solaris 10, as those things can be
> a pain to write.
> 

Most of the packages that I maintain for http://www.blastwave.org have
SMF files where appropriate.  A few are still in the works or being
fine-tuned.  Where I thought it was helpful, a few packages allow for
custom SMF related files.  bacula is fairly straight-forward and is not
custom.

My last update for bacula and bacula_client (which has the manifest and
service method files for both packages) are 1.38.5 dated 2006.01.20

See attached.

Alex


-- 
<?xml version='1.0'?>
 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<!--

        Alex Moore 01/06
        Service manifest for bacula (both server and client)
 -->

 <service_bundle type='manifest' name='bacula:bacula'>

 <service
         name='application/cswbacula'
         type='service'
         version='1'>
         <create_default_instance enabled='false' />
         <single_instance />


         <dependency name='fs'
                 grouping='require_all'
                 restart_on='none'
                 type='service'>
                 <service_fmri value='svc:/system/filesystem/local' />
         </dependency>

         <dependency name='net'
                 grouping='require_all'
                 restart_on='none'
                 type='service'>
                 <service_fmri value='svc:/network/loopback' />
         </dependency>

         <dependent
                 name='cswbacula_multi-user'
                 grouping='optional_all'
                 restart_on='none'>
                 <service_fmri
                        value='svc:/milestone/multi-user' />
         </dependent>

         <exec_method
                 type='method'
                 name='start'
                 exec='/opt/csw/lib/svc/method/svc-cswbacula start'
                 timeout_seconds='-1'>
         </exec_method>

         <exec_method
                 type='method'
                 name='stop'
                 exec='/opt/csw/lib/svc/method/svc-cswbacula stop'
                 timeout_seconds='-1'>
         </exec_method>

    	 <exec_method
                 type='method'
                 name='restart'
                 exec='/opt/csw/lib/svc/method/svc-cswbacula restart'
                 timeout_seconds='-1'>
         </exec_method>

         <exec_method
                 type='method'
                 name='status'
                 exec='/opt/csw/lib/svc/method/svc-cswbacula status'
                 timeout_seconds='-1'>
         </exec_method>

 </service>

 </service_bundle>

Attachment: svc-cswbacula
Description: Binary data

Reply via email to